Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionInfo ¶
type SessionInfo struct { SID uuid.UUID `json:"id"` SInitTime time.Time `json:"init_time"` SRemoteAddr string `json:"remote_addr"` }
func (*SessionInfo) ID ¶
func (si *SessionInfo) ID() uuid.UUID
func (*SessionInfo) InitTime ¶
func (si *SessionInfo) InitTime() time.Time
func (*SessionInfo) RemoteAddr ¶
func (si *SessionInfo) RemoteAddr() string
func (*SessionInfo) String ¶
func (si *SessionInfo) String() string
func (*SessionInfo) ToPb ¶
func (si *SessionInfo) ToPb() *pb.SessionInfo
Click to show internal directories.
Click to hide internal directories.