state

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	Update(func(tx *bbolt.Tx) error) error
	View(func(tx *bbolt.Tx) error) error
}

type Service

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

func NewService

func NewService(db DB, cleanStart bool) (Service, error)

func (Service) Get

func (s Service) Get(key string) map[string]interface{}

func (Service) Set

func (s Service) Set(key string, v interface{}) error

Jump to

Keyboard shortcuts

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