cluster

package
v0.15.1-test Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 9 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) *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 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