Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractParameters ¶
func ExtractParameters(ctx echo.Context, caseSensitive bool) apiInterface.Parameters
Types ¶
type Toolbox ¶
type Toolbox interface {
Create(ctx echo.Context, entity api.Entity) error
Update(ctx echo.Context, entity api.Entity) error
Delete(ctx echo.Context) error
Get(ctx echo.Context) error
List(ctx echo.Context, q databaseModel.Query) error
}
Toolbox is an interface that defines the different methods that can be used in the different endpoint of the API. This is a way to align the code of the different endpoint.
Click to show internal directories.
Click to hide internal directories.