]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - cmd/tofuproxy/main.go
gemini:// support
[tofuproxy.git] / cmd / tofuproxy / main.go
index d55233979ffceff872b4f19df283e20b0fe476d1..941438d1e6a45749129dbea206440a20f3624d64 100644 (file)
@@ -1,5 +1,6 @@
 /*
-tofuproxy -- flexible HTTP/WARC proxy with TLS certificates management
+tofuproxy -- flexible HTTP proxy, TLS terminator, X.509 certificates
+             manager, WARC/Gemini browser
 Copyright (C) 2021 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
@@ -27,6 +28,7 @@ import (
        "go.stargrave.org/tofuproxy"
        "go.stargrave.org/tofuproxy/fifos"
        "go.stargrave.org/tofuproxy/rounds"
+       ttls "go.stargrave.org/tofuproxy/tls"
 )
 
 func main() {
@@ -54,9 +56,9 @@ func main() {
 
        fifos.NoTAI = *notai
        fifos.Start(*fifosDir)
-       tofuproxy.Certs = *certs
-       tofuproxy.CCerts = *ccerts
-       tofuproxy.DNSSrv = *dnsSrv
+       ttls.Certs = *certs
+       ttls.CCerts = *ccerts
+       ttls.DNSSrv = *dnsSrv
        tofuproxy.CACert = caCert
        tofuproxy.CAPrv = caPrv
        rounds.WARCOnly = *warcOnly