Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogSessions = SessionMap{Sessions: make(map[string]LogSession)}
Functions ¶
func CreateLoggingHandler ¶
func GenLoggingSessionId ¶
Types ¶
type LogMessage ¶
type LogSession ¶
type SessionMap ¶
type SessionMap struct { Sessions map[string]LogSession Lock sync.Mutex }
func (*SessionMap) Clean ¶ added in v1.6.0
func (sm *SessionMap) Clean()
func (*SessionMap) Close ¶
func (sm *SessionMap) Close(sessionId, reason string, status uint32)
func (*SessionMap) Get ¶
func (sm *SessionMap) Get(sessionId string) LogSession
func (*SessionMap) Set ¶
func (sm *SessionMap) Set(sessionId string, session LogSession)
Click to show internal directories.
Click to hide internal directories.