Documentation ¶
Index ¶
Constants ¶
View Source
const MZ1 = 12444583056938131134
View Source
const MZ2 = 7945676850369339463
Variables ¶
View Source
var EAgain = errors.New("Ooops, try again")
View Source
var ETimeout = errors.New("Deadline timed out")
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type SendMessage ¶
type Server ¶
type Server struct { NewMessage func() *SendMessage Handler func(r *SendMessage, c *ServerConn) }
type ServerConn ¶
type ServerConn struct { *Server // contains filtered or unexported fields }
func (*ServerConn) WriteMessage ¶
func (c *ServerConn) WriteMessage(msg *SendMessage) error
Click to show internal directories.
Click to hide internal directories.