Documentation ¶
Index ¶
- type CrudController
- func (cc CrudController) Delete(c *gin.Context, d ds.IDataSource)
- func (cc CrudController) Fetch(c *gin.Context, d ds.IDataSource)
- func (cc CrudController) Find(c *gin.Context, d ds.IDataSource)
- func (cc CrudController) Post(c *gin.Context, d ds.IDataSource)
- func (cc CrudController) Update(c *gin.Context, d ds.IDataSource)
- type JwtController
- type PinController
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 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
func (ctrl PinController) Post(c *gin.Context, fn ds.PinDSFactory, p ds.IDataSource, u ds.IDataSource)
Post saves a pin to PinDataSource and sends it back to requesting user by email.
Click to show internal directories.
Click to hide internal directories.