types

package
v0.0.0-...-eb336c4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KnownError

type KnownError struct {
	LastSeen        time.Time `json:"last_seen,omitempty"`
	Hostname        string    `json:"hostname,omitempty"`
	Service         string    `json:"service,omitempty"`
	OriginBadgerKey string    `json:"origin_badger_key,omitempty"`
	LogStr          string    `json:"log_str,omitempty"`
	Counter         uint64    `json:"counter,omitempty"` // should use atomic operations on this one
}

func (KnownError) MarshalBinary

func (e KnownError) MarshalBinary() ([]byte, error)

type PeriodicReport

type PeriodicReport struct {
	Period   time.Duration
	Recieved int
}

Jump to

Keyboard shortcuts

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