many fixes for lint and context.Context usage

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-11-03 01:57:11 +03:00
parent 40b0870cf8
commit d18bf3dab9
44 changed files with 152 additions and 1175 deletions

View File

@@ -190,7 +190,7 @@ func Secure(b bool) Option {
}
}
// Specify TLS Config
// TLSConfig sets the TLS Config
func TLSConfig(t *tls.Config) Option {
return func(o *Options) {
o.TLSConfig = t