Documentation
¶
Overview ¶
Package typesocket implements a websocket server and client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConn ¶
type ClientConn struct {
// contains filtered or unexported fields
}
func (*ClientConn) Close ¶
func (c *ClientConn) Close() error
func (*ClientConn) Send ¶
func (c *ClientConn) Send(msgID string, v interface{}) error
func (*ClientConn) Serve ¶
func (c *ClientConn) Serve(mux Mux) error
Click to show internal directories.
Click to hide internal directories.