Documentation ¶
Overview ¶
Package datastore provides interface to read and write json data from/to disk
Index ¶
Constants ¶
View Source
const ( ReadWriteAccess = 0600 ReadWriteExecuteAccess = 0700 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalFileStore ¶
type LocalFileStore struct {
// contains filtered or unexported fields
}
func NewLocalFileStore ¶
func NewLocalFileStore(log log.T) *LocalFileStore
NewLocalFileStore returns a local file store
func (*LocalFileStore) Read ¶
func (localFileStore *LocalFileStore) Read(filename string, dest interface{}) error
Read reads data from disk
Directories ¶
Path | Synopsis |
---|---|
Package filesystem contains related functions from os, io, and io/ioutil packages
|
Package filesystem contains related functions from os, io, and io/ioutil packages |
Click to show internal directories.
Click to hide internal directories.