types

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 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     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

Jump to

Keyboard shortcuts

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