store

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PollStore

type PollStore interface {
	Get(id string) (*poll.Poll, error)
	Insert(*poll.Poll) error
	Save(*poll.Poll) error
	Update(prev *poll.Poll, new *poll.Poll) error
	Delete(*poll.Poll) error
}

PollStore allows the access polls in the store.

type Store

type Store interface {
	Poll() PollStore
	System() SystemStore
}

Store allows the interaction with some kind of store.

type SystemStore

type SystemStore interface {
	GetVersion() (string, error)
	SaveVersion(version string) error
}

SystemStore allows to access system information in the store.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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