Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultBufferSize = 32 * 1024
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncInfoSrv ¶ added in v1.13.1
type FuncInfoSrv func(msg string)
type Server ¶
type Server interface {
RegisterFuncError(f FuncError)
RegisterFuncInfo(f FuncInfo)
RegisterFuncInfoServer(f FuncInfoSrv)
SetReadTimeout(d time.Duration)
SetWriteTimeout(d time.Duration)
SetTLS(enable bool, config libtls.TLSConfig) error
Listen(ctx context.Context) error
Shutdown()
Done() <-chan struct{}
}
Click to show internal directories.
Click to hide internal directories.