Documentation ¶
Index ¶
- type Store
- func (s Store) Add(data map[string]interface{}) (result StoreSingleResult, err error)
- func (s Store) Close()
- func (s Store) Delete(id string) (result StoreDeleteResult, err error)
- func (s Store) Find(params map[string]interface{}) (result StoreMultiResult, err error)
- func (s Store) Get(id string) (result StoreSingleResult, err error)
- func (s Store) Update(id string, data map[string]interface{}) (result StoreUpdateResult, err error)
- type StoreDeleteResult
- type StoreMultiResult
- type StoreSingleResult
- type StoreUpdateResult
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 (Store) Add ¶
func (s Store) Add(data map[string]interface{}) (result StoreSingleResult, err error)
type StoreDeleteResult ¶
type StoreMultiResult ¶
type StoreMultiResult struct {
Data []StoreSingleResult `json:"data"`
}
type StoreSingleResult ¶
Click to show internal directories.
Click to hide internal directories.