sessioninfo

package
v0.0.0-...-cd40d76 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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