Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplaySocketOption ¶
func GenerateTLSConfig ¶
Setup a bare-bones TLS config for the server
func WaitSignal ¶
func WaitSignal()
Types ¶
type LoggingWriter ¶
A wrapper for io.Writer that also logs the message.
type TlsConfigMaker ¶
type TlsConfigMaker struct{}
func NewTlsConfigMaker ¶
func NewTlsConfigMaker() *TlsConfigMaker
func (*TlsConfigMaker) MakeTls2Config ¶
func (m *TlsConfigMaker) MakeTls2Config() (*tls.Config, error)
Click to show internal directories.
Click to hide internal directories.