Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchReader ¶
type HandlerFactory ¶
func DefaultHandler ¶
func DefaultHandler( keepalive time.Duration, mk ProtocolFactory, ) HandlerFactory
type ProtocolFactory ¶
type ProtocolFactory func(conn net.Conn) (BatchReader, ACKWriter, error)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func ListenAndServeWith ¶
func (*Server) ReceiveChan ¶
Click to show internal directories.
Click to hide internal directories.