api

package
v0.0.0-...-e065154 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindAndValidate

func BindAndValidate[T any](c echo.Context, val *T) error

Types

type Api

type Api struct {
	// contains filtered or unexported fields
}

func New

func New(db *ent.Client) *Api

func (*Api) HandlerPostCreate

func (api *Api) HandlerPostCreate() echo.HandlerFunc

func (*Api) HandlerPostGet

func (api *Api) HandlerPostGet() echo.HandlerFunc

func (*Api) HandlerSignInPost

func (api *Api) HandlerSignInPost() echo.HandlerFunc

func (*Api) HandlerSignoutPost

func (api *Api) HandlerSignoutPost() echo.HandlerFunc

func (*Api) HandlerSignupPost

func (api *Api) HandlerSignupPost() echo.HandlerFunc

func (*Api) HandlerUserGet

func (api *Api) HandlerUserGet() echo.HandlerFunc

Jump to

Keyboard shortcuts

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