heartbeat

package
v0.4.159 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Done chan bool

Functions

func CheckToken added in v0.4.118

func CheckToken(peerID string, channel string) error

func Create

func Create() error

func DeviceResourceChange added in v0.4.118

func DeviceResourceChange(cpu int, ram int) error

func DmsLoggs added in v0.4.118

func DmsLoggs(log string, level string) error

func GetToken added in v0.4.118

func GetToken(peerID string, channel string) (string, error)

func Heartbeat

func Heartbeat()

func NewToken added in v0.4.118

func NewToken(peerID string, channel string) (string, error)

func NtxPayment added in v0.4.118

func NtxPayment(callid int, serviceID string, successFailStatus string, peerID string, amountOfNtx int, timestamp int) error

func ProcessStatus added in v0.4.118

func ProcessStatus(callid int, peerIDOfServiceHost string, serviceID string, status string, timestamp int) error

func ProcessUsage

func ProcessUsage(callid int, usedcpu int, usedram int, networkused int, timetaken int, ntx int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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