bolt

package
v0.0.0-...-bf4eeb0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPath = "bolt.db"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Path string
	Now  func() time.Time
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) Close

func (c *Client) Close() error

func (*Client) Open

func (c *Client) Open() error

func (*Client) TodoListService

func (c *Client) TodoListService() wtf.TodoListService

type TodoListService

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

func (*TodoListService) Add

func (s *TodoListService) Add(title string) (*wtf.Item, error)

func (*TodoListService) Items

func (s *TodoListService) Items() ([]wtf.Item, error)

func (*TodoListService) Remove

func (s *TodoListService) Remove(id wtf.ItemID) error

func (*TodoListService) SetChecked

func (s *TodoListService) SetChecked(id wtf.ItemID, checked bool) error

Directories

Path Synopsis
Package internal is a generated protocol buffer package.
Package internal is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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