Versions in this module Expand all Collapse all v1 v1.0.2 Jan 1, 2019 Changes in this version + const FULL_CLUSTER + const FULL_FAIL + const FULL_NOUSER + const HTTP + const TCP + const WEBSOCKET v1.0.1 Nov 28, 2018 Changes in this version + const ACTION + const ALL_MESSAGE + const BODY + const CLUSTER + const DELETE_CLUSTER_USER + const FAIL + const FROM + const FULL_SUCCESS + const FULL_SYSTEM + const LENGTH + const LIVE + const LOGIN + const LOGIN_SUCCESS + const MESSAGE + const MESSAGE_ID + const NO_USER + const RESULT + const SEND_CLUSTER_USER + const SEND_FAIL + const START + const STATUS + const SUCCESS + const SYSTEM + const TIME + const TO + const TRACK + const TYPE + const USERNAME + func ClusterLive() []byte + func Live() []byte + func LoginSuccess() []byte + func SendClusterLiveMessage(address []string) []byte + func SendMachinesNoUser(userid ...string) []byte + func StartLogin() []byte + type Head map[string]string + func (h Head) Get(key string) string + type Message struct + Body []byte + Heads Head + func GetMessage(touserid string, fromuserId, mesg string) *Message + func GetSystemMessage(userid string, mesg string) *Message + func SendFail(msgid string) *Message + func SendSuccess(msgid string) *Message + func (m *Message) MessageToByte() []byte