session

package
v0.1.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	Context context.Context
	// contains filtered or unexported fields
}

func New

func New(
	sessionManager *SessionManager,
) *Session

func (*Session) Authenticate

func (c *Session) Authenticate(
	Event *proto.InitializeRequest,
	RootCertPool *x509.CertPool,
) error

func (*Session) Ch

func (*Session) Dispose

func (c *Session) Dispose()

func (*Session) DisposeInstant

func (c *Session) DisposeInstant()

func (*Session) HandleClientEvent

func (c *Session) HandleClientEvent(
	Event *proto.RPCClientEvent,
) error

func (*Session) Restore

func (c *Session) Restore()

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL