Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // ListEntities lists all entity types in backend (such as tables) ListEntities() ([]string, error) // ListItems lists items based on provided query ListItems(entity string, qry query.Interface) (*PagedResult, error) // Exists checks for existence of item based on ID Exists(entity, id string) (bool, error) // Get gets item based on ID Get(entity, id string) (Untyped, error) // Update item by its ID Update(entity, id string, body Untyped) (Untyped, error) // Create creates new item Create(entity string, body Untyped) (Untyped, error) // Delete deletes item by its ID Delete(entity string, id string) error }
Interface is API to perform CRUD operation against backend
type NameToCrudMap ¶
func (*NameToCrudMap) Close ¶
func (m *NameToCrudMap) Close() error
type PagedResult ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.