Versions in this module Expand all Collapse all v1 v1.0.0 Oct 7, 2020 Changes in this version + type Client struct + Name string + func StartClient(ipcName string, config *ClientConfig) (*Client, error) + func (cc *Client) Close() + func (cc *Client) GetStatus() Status + func (cc *Client) Read() (*Message, error) + func (cc *Client) Reconnect() + func (cc *Client) Status() string + func (cc *Client) Write(msgType int, message []byte) error + type ClientConfig struct + Encryption bool + RetryTimer time.Duration + Timeout float64 + type Message struct + Data []byte + MsgType int + Status string + type Server struct + func StartServer(ipcName string, config *ServerConfig) (*Server, error) + func (sc *Server) Close() + func (sc *Server) Read() (*Message, error) + func (sc *Server) Status() string + func (sc *Server) Write(msgType int, message []byte) error + type ServerConfig struct + Encryption bool + MaxMsgSize int + Timeout time.Duration + type Status int + const Closed + const Closing + const Connected + const Connecting + const Error + const Listening + const NotConnected + const ReConnecting + const Timeout + func (status *Status) String() string