Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaximumQueueSize = 1024 MaximumRequestPacketSize = 1024 MaximumResponsePacketSize = 1024 NumWorkers = 1 )
View Source
const ( MinimumRequestSize = 22 MinimumResponseSize = 21 )
View Source
const (
Timeout = 5 * time.Second
)
Variables ¶
View Source
var (
DecodeErr = errors.New("unable to decode buffer")
)
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) HandleConnection ¶
func (c *Client) HandleConnection(conn io.ReadWriteCloser)
type HandleFunc ¶
type InflightRequest ¶
type ProcessRequest ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HandleConnection ¶
func (s *Server) HandleConnection(conn io.ReadWriteCloser)
Click to show internal directories.
Click to hide internal directories.