Documentation ¶
Index ¶
- type Session
- func (c *Session) Authenticate(Event *proto.InitializeRequest, RootCertPool *x509.CertPool) error
- func (c *Session) Ch() *broadcast.Listener[*proto.RPCServerEvent]
- func (c *Session) Dispose()
- func (c *Session) DisposeInstant()
- func (c *Session) HandleClientEvent(Event *proto.RPCClientEvent) error
- func (c *Session) Restore()
- type SessionManager
- type SessionMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
func New ¶
func New( sessionManager *SessionManager, ) *Session
func (*Session) Authenticate ¶
func (*Session) DisposeInstant ¶
func (c *Session) DisposeInstant()
func (*Session) HandleClientEvent ¶
func (c *Session) HandleClientEvent( Event *proto.RPCClientEvent, ) error
type SessionManager ¶
type SessionManager struct {
// contains filtered or unexported fields
}
func NewSessionManager ¶
func NewSessionManager() *SessionManager
func (*SessionManager) GetSession ¶
func (c *SessionManager) GetSession(session uint32) *Session
func (*SessionManager) GetSessionFromSessionId ¶
func (c *SessionManager) GetSessionFromSessionId(id string) *Session
type SessionMeta ¶
type SessionMeta struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.