ticker

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ticker

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

func New

func New(conf *config.Config, updateCh chan<- any) *Ticker

func (*Ticker) Close

func (t *Ticker) Close()

func (*Ticker) Fetch

func (t *Ticker) Fetch(render chan<- *nightscout.Properties) time.Duration

func (*Ticker) Start

func (t *Ticker) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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