statesrv

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Six910StateService

type Six910StateService struct {
	StateStore     ds.JSONDatastore
	StateStorePath string
	Log            *lg.Logger
}

Six910StateService Six910StateService

func (*Six910StateService) GetNew

func (c *Six910StateService) GetNew() StateService

GetNew GetNew

func (*Six910StateService) GetStateList

func (c *Six910StateService) GetStateList(name string) *[]State

GetStateList GetStateList

type State

type State struct {
	Abrv string
	Name string
}

State State

type StateService

type StateService interface {
	GetStateList(name string) *[]State
}

StateService StateService

Jump to

Keyboard shortcuts

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