Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrServerStopped = errors.New("coco: server already stopped") ErrInvalidListener = errors.New("coco: invalid net listener") ErrInvalidHandler = errors.New("coco: invalid handler") ErrUnsupportedProtocol = errors.New("coco: unsupported protocol") ErrClosedTimeout = errors.New("coco: server closed connection timeout") )
Functions ¶
This section is empty.
Types ¶
type CocoHandler ¶
type CocoHandler struct {
// contains filtered or unexported fields
}
CocoHandler Example handler, just for testing
func (*CocoHandler) Close ¶
func (c *CocoHandler) Close() error
Click to show internal directories.
Click to hide internal directories.