Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDialer ¶
func NewDialer(cfg *DialerConfig) *net.Dialer
Types ¶
type DialerConfig ¶
func (*DialerConfig) SetDefault ¶
func (cfg *DialerConfig) SetDefault() *DialerConfig
type Entrypoint ¶ added in v0.3.0
type Entrypoint struct {
// contains filtered or unexported fields
}
func NewEntrypoint ¶ added in v0.3.0
func NewEntrypoint(cfg *EntrypointConfig) (*Entrypoint, error)
func (*Entrypoint) Logger ¶ added in v0.3.0
func (lstnr *Entrypoint) Logger() logrus.FieldLogger
func (*Entrypoint) SetLogger ¶ added in v0.3.0
func (lstnr *Entrypoint) SetLogger(logger logrus.FieldLogger)
type EntrypointConfig ¶ added in v0.3.0
type EntrypointConfig struct {
Network string `json:"network"`
Address string `json:"address"`
KeepAlive *types.Duration
TLSConfig *kilntls.Config
}
func (*EntrypointConfig) SetDefault ¶ added in v0.3.0
func (cfg *EntrypointConfig) SetDefault() *EntrypointConfig
Click to show internal directories.
Click to hide internal directories.