Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TlsPlugin ¶
type TlsPlugin struct { camStatics.PluginInterface // contains filtered or unexported fields }
func (*TlsPlugin) Init ¶
func (plugin *TlsPlugin) Init(conf *TlsPluginConfig)
func (*TlsPlugin) SetListenHandler ¶
func (plugin *TlsPlugin) SetListenHandler(handler func(), tlsHandler func())
func (*TlsPlugin) StartListenServer ¶
func (plugin *TlsPlugin) StartListenServer()
type TlsPluginConfig ¶
type TlsPluginConfig struct { camStatics.PluginConfigInterface IsTlsOn bool // enable SSL mode TlsPort uint16 // SSL listen port TlsCertFile string // absolute cert's filename TlsKeyFile string // absolute key's filename TlsOnly bool // whether only SSl mode }
tls plugin config
Click to show internal directories.
Click to hide internal directories.