Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStorage ¶
type FileStorage struct {
// contains filtered or unexported fields
}
func NewFileStorage ¶
func NewFileStorage(absFileName string) (*FileStorage, error)
func (*FileStorage) Destroy ¶
func (f *FileStorage) Destroy() error
func (*FileStorage) Load ¶
func (f *FileStorage) Load() (map[string]interface{}, error)
func (*FileStorage) Save ¶
func (f *FileStorage) Save(payload map[string]interface{}) error
type NopStorage ¶
type NopStorage struct { }
func (NopStorage) Destroy ¶
func (n NopStorage) Destroy()
func (NopStorage) Load ¶
func (n NopStorage) Load() (map[string]interface{}, error)
func (NopStorage) Save ¶
func (n NopStorage) Save(payload map[string]interface{}) error
Click to show internal directories.
Click to hide internal directories.