add feature tls config stuff
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user