Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IterateSessionFunc ¶
type SessionManager ¶
type SessionManager struct {
// contains filtered or unexported fields
}
func New ¶
func New() *SessionManager
func (*SessionManager) AddSession ¶
func (sm *SessionManager) AddSession(session exchange.Fetcher)
func (*SessionManager) GetNextSessionID ¶
func (sm *SessionManager) GetNextSessionID() uint64
func (*SessionManager) IterateSessions ¶
func (sm *SessionManager) IterateSessions(iterate IterateSessionFunc)
IterateSessions loops through all managed sessions and applies the given IterateSessionFunc
func (*SessionManager) RemoveSession ¶
func (sm *SessionManager) RemoveSession(session exchange.Fetcher)
Click to show internal directories.
Click to hide internal directories.