source

package
v0.0.0-...-5513f93 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graphite

type Graphite struct {
	// contains filtered or unexported fields
}

func ParseGraphite

func ParseGraphite(file string) (*Graphite, error)

func (*Graphite) Name

func (g *Graphite) Name() string

func (*Graphite) Value

func (g *Graphite) Value() (float64, bool, error)

type Shell

type Shell struct {
	// contains filtered or unexported fields
}

func ParseShell

func ParseShell(file string) (*Shell, error)

func (*Shell) Name

func (sh *Shell) Name() string

func (*Shell) Value

func (sh *Shell) Value() (float64, bool, error)

type Source

type Source interface {
	Name() string
	Value() (float64, bool, error)
}

Jump to

Keyboard shortcuts

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