session

package
v0.0.0-...-1ac23cf Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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