Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationManager ¶
type ApplicationManager interface {
Create(ktx kontext.Context, e entity.OauthApplicationJSON) (entity.OauthApplicationJSON, jsonapi.Errors)
List(ktx kontext.Context, offset, limit int) ([]entity.OauthApplicationJSON, int, jsonapi.Errors)
One(ktx kontext.Context, ID int) (entity.OauthApplicationJSON, jsonapi.Errors)
Update(ktx kontext.Context, ID int, e entity.OauthApplicationUpdateJSON) (entity.OauthApplicationJSON, jsonapi.Errors)
}
type CreateController ¶
type CreateController struct {
// contains filtered or unexported fields
}
CreateController control flow of oauth application creation
func NewCreate ¶
func NewCreate(applicationManager ApplicationManager, apiError module.ApiError) *CreateController
NewCreate return struct of CreateController
type ListController ¶
type ListController struct {
// contains filtered or unexported fields
}
ListController show list of oauth applications
func NewList ¶
func NewList(applicationManager ApplicationManager, apiError module.ApiError) *ListController
NewList return struct of ListController
type OneController ¶
type OneController struct {
// contains filtered or unexported fields
}
OneController control flow of showing oauth applications detail
func NewOne ¶
func NewOne(applicationManager ApplicationManager, apiError module.ApiError) *OneController
NewOne return struct of OneController
type UpdateController ¶
type UpdateController struct {
// contains filtered or unexported fields
}
UpdateController control flow of update oauth application
func NewUpdate ¶
func NewUpdate(applicationManager ApplicationManager, apiError module.ApiError) *UpdateController
NewUpdate create struct of UpdateController
func (*UpdateController) Control ¶
func (uc *UpdateController) Control(ktx kontext.Context, c *gin.Context)
Control update oauth applications
func (*UpdateController) Path ¶
func (uc *UpdateController) Path() string
Path /oauth/applications/:id
Click to show internal directories.
Click to hide internal directories.