Documentation ¶
Index ¶
- type Args
- type ArgsGroup
- type CustomerRoute
- type Reply
- type ReplyGroup
- type 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{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomerRoute ¶
Route msg to the specified node
type Session ¶
type Session struct { NodeId string SessionId int64 UserId int64 Settings map[string]string // contains filtered or unexported fields }
func NewSession ¶
func NewSessionFromRpc ¶
func (*Session) GetSessionId ¶
func (*Session) RemoveCache ¶
func (*Session) SyncSettings ¶
Click to show internal directories.
Click to hide internal directories.