store

package
v0.0.0-...-930eec9 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func Open

func Open(path string) (*Store, error)

func (*Store) Close

func (s *Store) Close()

func (*Store) DeleteEntry

func (s *Store) DeleteEntry(date string) error

func (*Store) GetEntry

func (s *Store) GetEntry(date string) (*entry.Entry, error)

func (*Store) GetUser

func (s *Store) GetUser() (*user.User, error)

func (*Store) UpdateEntry

func (s *Store) UpdateEntry(e *entry.Entry) error

func (*Store) UpdateUser

func (s *Store) UpdateUser(u *user.User) error

Jump to

Keyboard shortcuts

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