stats

package
v0.23.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

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

func New

func New(title string) *Runtime

func (*Runtime) Get added in v0.19.0

func (r *Runtime) Get(key string) vars.Variable

func (*Runtime) Set

func (r *Runtime) Set(key string, value any) error

func (*Runtime) SetTimezone

func (r *Runtime) SetTimezone(loc *time.Location)

func (*Runtime) State

func (r *Runtime) State() State

func (*Runtime) Update

func (r *Runtime) Update()

type State

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

func (State) Get

func (s State) Get(key string) vars.Variable

func (State) Range

func (s State) Range(cb func(v vars.Variable))

func (State) String

func (s State) String() string

func (State) Time

func (s State) Time() time.Time

Jump to

Keyboard shortcuts

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