Versions in this module Expand all Collapse all v1 v1.2.6 Jul 12, 2023 v1.2.5 Jul 12, 2023 Changes in this version + type Client struct + Name string + func StartClient(ipcName string, config *ClientConfig) (*Client, error) + func (c *Client) Close() + func (c *Client) Read() (*Message, error) + func (c *Client) Status() string + func (c *Client) StatusCode() Status + func (c *Client) Write(msgType int, message []byte) error + type ClientConfig struct + Encryption bool + RetryTimer time.Duration + Timeout float64 + type Message struct + Data []byte + Err error + MsgType int + Status string + type Server struct + func StartServer(ipcName string, config *ServerConfig) (*Server, error) + func (s *Server) Close() + func (s *Server) Read() (*Message, error) + func (s *Server) Status() string + func (s *Server) StatusCode() Status + func (s *Server) Write(msgType int, message []byte) error + type ServerConfig struct + Encryption bool + MaxMsgSize int + UnmaskPermissions bool + type Status int + const Closed + const Closing + const Connected + const Connecting + const Disconnected + const Error + const Listening + const NotConnected + const ReConnecting + const Timeout + func (status *Status) String() string