Add uTLS client

This commit is contained in:
世界
2022-09-10 10:27:00 +08:00
parent 421f4d012f
commit c264d14113
15 changed files with 331 additions and 44 deletions

View File

@@ -26,7 +26,7 @@ type STDServerConfig struct {
watcher *fsnotify.Watcher
}
func NewServer(ctx context.Context, logger log.Logger, options option.InboundTLSOptions) (ServerConfig, error) {
func newSTDServer(ctx context.Context, logger log.Logger, options option.InboundTLSOptions) (ServerConfig, error) {
if !options.Enabled {
return nil, nil
}