Versions in this module Expand all Collapse all v1 v1.0.0 Dec 6, 2020 Changes in this version + func NewApp(pl ktmt.PresentationLayer, op *Options) (ktmt.ApplicationLayer, error) + type Dialer func() (net.Conn, error) + type OptionFunc func(ops *Options) + func WithKeepalive(seconds uint16) OptionFunc + func WithOnClose(f ktmt.OnCloseCallback) OptionFunc + func WithReadTimeout(to time.Duration) OptionFunc + func WithVersion(version byte) OptionFunc + func WithWriteTimeout(to time.Duration) OptionFunc + type Options struct + func NewOptions(id string, dialer Dialer, ops ...OptionFunc) *Options