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 int64 `json:"duration"` Bandwidth common.Bandwidth `json:"bandwidth"` Status string `json:"status"` StatusAt time.Time `json:"status_at"` }
func NewSessionFromRaw ¶
func NewSessionFromRaw(item *sessiontypes.Session) Session
type Sessions ¶
type Sessions []Session
func NewSessionsFromRaw ¶
func NewSessionsFromRaw(items sessiontypes.Sessions) Sessions
Click to show internal directories.
Click to hide internal directories.