Versions in this module Expand all Collapse all v1 v1.0.0 Feb 2, 2020 Changes in this version + func ListenAndServe(addr string, fn HandleFunc) error + type Connection struct + func Dial(addr, passwd string) (*Connection, error) + func DialTimeout(addr, passwd string, timeout time.Duration) (*Connection, error) + func (h *Connection) CanSend() bool + func (h *Connection) Close() + func (h *Connection) Execute(appName, appArg string, lock bool) (*Event, error) + func (h *Connection) ExecuteUUID(uuid, appName, appArg string) (*Event, error) + func (h *Connection) ReadEvent() (*Event, error) + func (h *Connection) RemoteAddr() net.Addr + func (h *Connection) Send(command string) (*Event, error) + func (h *Connection) SendMsg(m MSG, uuid, appData string) (*Event, error) + type Event struct + Body string + Header EventHeader + func (r *Event) Get(key string) string + func (r *Event) GetInt(key string) (int, error) + func (r *Event) PrettyPrint() + func (r *Event) String() string + type EventHeader map[string]interface + type HandleFunc func(*Connection) + type MSG map[string]string