Documentation
¶
Index ¶
- func CloseStore()
- func DeleteData(ctx context.Context, id string) error
- func GetAllData(ctx context.Context, data chan<- map[string]interface{}, err chan<- error, ...)
- func GetData(ctx context.Context, id string) (data map[string]interface{}, err error)
- func InitStore(ctx context.Context) error
- func SaveData(ctx context.Context, id string, data map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteData ¶
DeleteData deletes data by id
func GetAllData ¶
func GetAllData(ctx context.Context, data chan<- map[string]interface{}, err chan<- error, done chan<- bool)
GetAllData retreaves all data in the collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.