kvstore

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(api plugin.API, pluginVersion string) (store.Store, error)

Types

type PollStore

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

func (*PollStore) Delete

func (s *PollStore) Delete(poll *poll.Poll) error

func (*PollStore) Get

func (s *PollStore) Get(id string) (*poll.Poll, error)

func (*PollStore) Save

func (s *PollStore) Save(poll *poll.Poll) error

type Store

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

func (*Store) Poll

func (s *Store) Poll() store.PollStore

func (*Store) System

func (s *Store) System() store.SystemStore

func (*Store) UpdateDatabase

func (s *Store) UpdateDatabase(pluginVersion string) error

type SystemStore

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

func (*SystemStore) GetVersion

func (s *SystemStore) GetVersion() (string, error)

func (*SystemStore) SaveVersion

func (s *SystemStore) SaveVersion(version string) error

Jump to

Keyboard shortcuts

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