Documentation
¶
Index ¶
- type API
- func (api *API) Create(request *frames.CreateRequest) error
- func (api *API) Delete(request *frames.DeleteRequest) error
- func (api *API) Exec(request *frames.ExecRequest) (frames.Frame, error)
- func (api *API) Read(request *frames.ReadRequest, out chan frames.Frame) error
- func (api *API) Write(request *frames.WriteRequest, in chan frames.Frame) (int, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API layer, implements common CRUD operations TODO: Call it DAL? (data access layer)
func (*API) Create ¶
func (api *API) Create(request *frames.CreateRequest) error
Create will create a new table
func (*API) Delete ¶
func (api *API) Delete(request *frames.DeleteRequest) error
Delete deletes a table or part of it
Click to show internal directories.
Click to hide internal directories.