Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { ID uint64 `json:"id"` Subscription uint64 `json:"subscription"` Node string `json:"node"` Address string `json:"address"` Duration time.Duration `json:"duration"` Bandwidth clienttypes.Bandwidth `json:"bandwidth"` Status string `json:"status"` StatusAt time.Time `json:"status_at"` }
func NewSessionFromRaw ¶
func NewSessionFromRaw(v *sessiontypes.Session) Session
type Sessions ¶
type Sessions []Session
func NewSessionsFromRaw ¶
func NewSessionsFromRaw(v sessiontypes.Sessions) Sessions
Click to show internal directories.
Click to hide internal directories.