ctrl

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrudController added in v0.2.0

type CrudController struct{}

CrudController exported

func (CrudController) Delete added in v0.2.0

func (cc CrudController) Delete(c *gin.Context, d ds.IDataSource)

Delete exported

func (CrudController) Fetch added in v0.2.0

func (cc CrudController) Fetch(c *gin.Context, d ds.IDataSource)

Fetch exported

func (CrudController) Find added in v0.2.0

func (cc CrudController) Find(c *gin.Context, d ds.IDataSource)

Find exported

func (CrudController) Post added in v0.2.0

func (cc CrudController) Post(c *gin.Context, d ds.IDataSource)

Post exported

func (CrudController) Update added in v0.2.11

func (cc CrudController) Update(c *gin.Context, d ds.IDataSource)

Update exported

type JwtController

type JwtController struct{}

JwtController exported

func (JwtController) Get

func (ctrl JwtController) Get(c *gin.Context)

Get exported

type PinController added in v0.1.46

type PinController struct{}

PinController exported

func (PinController) Patch added in v0.1.46

func (ctrl PinController) Patch(c *gin.Context, fn ds.PinDSFactory, p ds.IDataSource, u ds.IDataSource, crypto lib.ICrypto)

Patch updates the password in IUserDataSource.

func (PinController) Post added in v0.1.46

Post saves a pin to PinDataSource and sends it back to requesting user by email.

Jump to

Keyboard shortcuts

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