cluster

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bandmap

type Bandmap interface {
	Add(core.Spot)
}

type Clusters

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

func NewClusters

func NewClusters(sources []core.SpotSource, bandmap Bandmap, bandplan bandplan.Bandplan, entities DXCCFinder, clock core.Clock) *Clusters

func (*Clusters) SetSpotSourceEnabled

func (c *Clusters) SetSpotSourceEnabled(name string, enabled bool)

func (*Clusters) SetView

func (c *Clusters) SetView(view View)

func (*Clusters) StationChanged

func (c *Clusters) StationChanged(station core.Station)

func (*Clusters) Valid

func (c *Clusters) Valid() bool

type ConnectionState added in v0.19.0

type ConnectionState int
const (
	Disconnected ConnectionState = iota
	ConnectionPending
	Connected
)

type DXCCFinder

type DXCCFinder interface {
	Find(string) (dxcc.Prefix, bool)
}

type View

type View interface {
	AddSpotSourceEntry(name string)
	SetSpotSourceEnabled(name string, enabled bool)
}

Jump to

Keyboard shortcuts

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