station

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Station

type Station struct {
	UUID    string
	Name    string
	Company string
	Street  string
	City    string
	URL     string
}

type StationList

type StationList struct {
	Stations []Station
}

func (*StationList) Add

func (sl *StationList) Add(st Station)

func (*StationList) GetList

func (sl *StationList) GetList() []Station

func (*StationList) GetStation

func (sl *StationList) GetStation(uid string) (Station, error)

func (*StationList) Remove

func (sl *StationList) Remove(uid string)

Jump to

Keyboard shortcuts

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