runners

package
v0.0.0-...-9ca3525 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deadrecker

type Deadrecker struct {
	Task
	Boat *nmea.NMEABoat
	// contains filtered or unexported fields
}

func NewDeadrecker

func NewDeadrecker(d int, b *nmea.NMEABoat, m *sync.RWMutex) Deadrecker

func (Deadrecker) Run

func (dedrek Deadrecker) Run()

func (Deadrecker) Stop

func (dedrek Deadrecker) Stop()

func (Deadrecker) Update

func (dedrek Deadrecker) Update()

type Server

type Server struct {
	Task
	Boat *nmea.NMEABoat
	// contains filtered or unexported fields
}

func NewServer

func NewServer(d int, b *nmea.NMEABoat, m *sync.RWMutex) Server

func (Server) Run

func (srv Server) Run()

func (Server) Start

func (srv Server) Start()

func (Server) Stop

func (srv Server) Stop()

func (Server) Update

func (srv Server) Update()

type Task

type Task struct {
	Ticker time.Ticker
	Done   chan bool
}

func NewTask

func NewTask(seconds int) Task

type Updater

type Updater struct {
	Task
	Boat *nmea.NMEABoat
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(d int, b *nmea.NMEABoat, m *sync.RWMutex) Updater

func (Updater) Run

func (upd Updater) Run()

func (Updater) Stop

func (upd Updater) Stop()

func (Updater) Update

func (upd Updater) Update()

type Viewer

type Viewer struct {
	Task
	Boat *nmea.NMEABoat
	// contains filtered or unexported fields
}

func NewViewer

func NewViewer(d int, b *nmea.NMEABoat, m *sync.RWMutex) Viewer

func (Viewer) Run

func (view Viewer) Run()

func (Viewer) Stop

func (view Viewer) Stop()

func (Viewer) Update

func (view Viewer) Update()

Jump to

Keyboard shortcuts

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