add feature tls config stuff

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-12-09 13:21:48 +03:00
parent 883757b7f8
commit 4c529af53f
2 changed files with 13 additions and 0 deletions

View File

@@ -28,3 +28,11 @@ type pathKey struct{}
func Path(path string) config.Option {
return config.SetOption(pathKey{}, path)
}
/*
type tlsConfigKey struct{}
func TLSConfig(t *tls.Config) config.Option {
return config.SetOption(tlsConfigKey{}, t)
}
*/