model

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitStore

func InitStore(path string)

Types

type Model

type Model struct {
}

type Store

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

func NewStore

func NewStore(path string) *Store

func (*Store) Get

func (s *Store) Get(key string) result

func (*Store) Load

func (s *Store) Load() result

func (*Store) Query

func (s *Store) Query(key string, state string, fn handle, body string) result

func (*Store) Search

func (s *Store) Search(key, args string) result

func (*Store) Sync

func (s *Store) Sync() result

func (*Store) Wrap

func (s *Store) Wrap(fn handle) *Store

Jump to

Keyboard shortcuts

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