pdb

package
v0.0.0-...-3dd0aef Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg config.Db) error

Types

type Stat

type Stat struct {
	Realm      string `json:"realm"`
	Username   string `json:"username"`
	Allocation string `json:"allocation"`
	SentP      int64  `json:"sentp"`
	SentB      int64  `json:"sentb"`
	RecvP      int64  `json:"recvp"`
	RecvB      int64  `json:"recvb"`
}

func NewStat

func NewStat(realm, username, allocation string, sentp, sentb, recvp, recvb int64) *Stat

func (*Stat) Insert

func (s *Stat) Insert() error

Jump to

Keyboard shortcuts

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