Versions in this module Expand all Collapse all v0 v0.0.1 Aug 28, 2023 Changes in this version + type Args struct + MsgId int + MsgReq interface{} + func (a *Args) GetObject(t interface{}) error + type ArgsGroup struct + Payload []byte + Route string + type CustomerRoute func(session *Session, servicePath, serviceName string) (string, error) + type Reply struct + Code int + ErrMsg string + MsgResp interface{} + type ReplyGroup struct + type Session struct + NodeId string + SessionId int64 + Settings map[string]string + UserId int64 + func NewSession(nodeId string) *Session + func NewSessionFromRpc(nodeId string, sessionId int64, userId int64) *Session + func (s *Session) Clone() *Session + func (s *Session) Get(key string) string + func (s *Session) GetCache(key string) string + func (s *Session) GetNodeId() string + func (s *Session) GetSessionId() int64 + func (s *Session) GetUserId() int64 + func (s *Session) Remove(key string) + func (s *Session) RemoveCache(key string) + func (s *Session) Set(key, value string) + func (s *Session) SetCache(key, value string) + func (s *Session) SetUserId(userId int64) + func (s *Session) SyncSettings(settings map[string]interface{})