collections

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2018 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, c *types.Collection) error

Create .

func Delete added in v0.2.0

func Delete(ctx context.Context, c *types.Collection) error

Delete .

func Get added in v0.2.0

Get .

func GetAll

func GetAll(ctx context.Context, c database.Criteria) ([]*types.Collection, error)

GetAll .

func GetAllCustom added in v0.2.0

func GetAllCustom(ctx context.Context, p database.Pipeline) ([]*types.Collection, error)

GetAllCustom .

func HandleDelete added in v0.2.0

func HandleDelete(c echo.Context) error

HandleDelete .

func HandleGet

func HandleGet(c echo.Context) error

HandleGet .

func HandleGetAll

func HandleGetAll(c echo.Context) error

HandleGetAll .

func HandlePost

func HandlePost(c echo.Context) error

HandlePost .

func InitDatabase added in v0.2.0

func InitDatabase(ctx context.Context, db *mongo.Database) error

InitDatabase .

func Middleware

func Middleware(next echo.HandlerFunc) echo.HandlerFunc

Middleware .

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL