Documentation ¶
Index ¶
- func ActionHandlers() map[string]http.Handler
- func Format(request *types.APIRequest, resource *types.RawResource)
- type Store
- func (s *Store) ByID(apiOp *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error)
- func (s *Store) Create(apiOp *types.APIRequest, schema *types.APISchema, data types.APIObject) (types.APIObject, error)
- func (s *Store) Delete(apiOp *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error)
- func (s *Store) List(apiOp *types.APIRequest, schema *types.APISchema) (types.APIObjectList, error)
- func (s *Store) Watch(apiOp *types.APIRequest, schema *types.APISchema, wr types.WatchRequest) (chan types.APIEvent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionHandlers ¶
func Format ¶
func Format(request *types.APIRequest, resource *types.RawResource)
Types ¶
Click to show internal directories.
Click to hide internal directories.