Documentation ¶
Index ¶
- func InitRoutes(r *gin.Engine, path string, adminAuthFunc gin.HandlerFunc, ...)
- type AccountAdminPatch
- type Handler
- func (h *Handler) GetAccountHandler(c *gin.Context)
- func (h *Handler) GetAccountListHandler(c *gin.Context)
- func (h *Handler) GetIdentityListHandler(c *gin.Context)
- func (h *Handler) PatchAccountHandler(c *gin.Context)
- func (h *Handler) PostAccountHandler(c *gin.Context)
- func (h *Handler) PostIdentityHandler(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRoutes ¶
func InitRoutes(r *gin.Engine, path string, adminAuthFunc gin.HandlerFunc, identityBackend storage.IdentityBackend)
Types ¶
type AccountAdminPatch ¶
type AccountAdminPatch struct {
State string `json:"state,omitempty"`
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) GetAccountHandler ¶
func (*Handler) GetAccountListHandler ¶
func (*Handler) GetIdentityListHandler ¶
func (*Handler) PatchAccountHandler ¶
func (*Handler) PostAccountHandler ¶
func (*Handler) PostIdentityHandler ¶
Click to show internal directories.
Click to hide internal directories.