Documentation ¶
Index ¶
- func Create(ctx context.Context, i *types.Item) error
- func Delete(ctx context.Context, i *types.Item) error
- func Get(ctx context.Context, c database.Criteria) (*types.Item, error)
- func GetAll(ctx context.Context, c database.Criteria) ([]*types.Item, error)
- func GetAllCustom(ctx context.Context, p database.Pipeline) ([]*types.Item, error)
- func HandleDelete(c echo.Context) error
- func HandleGet(c echo.Context) error
- func HandleGetAllForCollection(c echo.Context) error
- func HandlePost(c echo.Context) error
- func HandlePostFile(c echo.Context) error
- func Init(jwtSecret string)
- func InitDatabase(ctx context.Context, db *mongo.Database) error
- func Middleware(next echo.HandlerFunc) echo.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllCustom ¶ added in v0.2.0
GetAllCustom .
func HandleGetAllForCollection ¶
HandleGetAllForCollection .
func InitDatabase ¶ added in v0.2.0
InitDatabase .
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.