Versions in this module Expand all Collapse all v0 v0.30.1 Feb 27, 2019 Changes in this version + const All + const Conn + const Error + const Fatal + const Protover + const Version + type Client struct + Seq uint32 + func TCPClient(c *ClientConfig) (*Client, error) + func TLSClient(c *ClientConfig, t *tls.Config) (*Client, error) + func UnixClient(c *ClientConfig) (*Client, error) + func (c *Client) Dispatch(req []byte) ([]byte, error) + func (c *Client) DispatchRaw(xmission []byte) ([]byte, error) + func (c *Client) Quit() + type ClientConfig struct + Addr string + HMACKey []byte + Timeout int64 + type Msg struct + Code int + Conn uint32 + Err error + Req uint32 + Txt string + func (m *Msg) Error() string + type Perr struct + Code int + Lvl int + Txt string + func (p Perr) Error() string + type Responder func([][]byte) ([]byte, error) + type Server struct + Msgr chan *Msg + func TCPServer(c *ServerConfig) (*Server, error) + func TLSServer(c *ServerConfig, t *tls.Config) (*Server, error) + func UnixServer(c *ServerConfig, p uint32) (*Server, error) + func (s *Server) Quit() + func (s *Server) Register(name string, mode string, r Responder) error + type ServerConfig struct + Buffer int + HMACKey []byte + LogIP bool + Msglvl int + Reqlen uint32 + Sockname string + Timeout int64