types

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action string

Action represents the action in the context of a Category has been executed

func (Action) String

func (a Action) String() string

func (Action) Validate

func (a Action) Validate() error

type Category

type Category string

Category represents the category of which an event belongs to

func (Category) String

func (c Category) String() string

func (Category) Validate

func (c Category) Validate() error

type Definition

type Definition struct {
	Category Category
	Actions  []Action
	Labels   []string
}

Definition represents the definition of a metric

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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