Documentation ¶
Index ¶
- Constants
- type Store
- func (s *Store) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
- func (s *Store) Context() types.StorageContext
- func (s *Store) Create(apiContext *types.APIContext, schema *types.Schema, ...) (map[string]interface{}, error)
- func (s *Store) Delete(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
- func (s *Store) List(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) ([]map[string]interface{}, error)
- func (s *Store) Update(apiContext *types.APIContext, schema *types.Schema, ...) (map[string]interface{}, error)
- func (s *Store) Watch(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) (chan map[string]interface{}, error)
Constants ¶
View Source
const (
NamespaceID = client.PreferenceFieldNamespaceId
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (*Store) Context ¶
func (s *Store) Context() types.StorageContext
func (*Store) List ¶
func (s *Store) List(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) ([]map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.