Documentation ¶
Index ¶
- Constants
- func CollectionFormatter(request *types.APIRequest, collection *types.GenericCollection)
- func Formatter(request *types.APIRequest, resource *types.RawResource)
- func RegisterSchema(scaled *config.Scaled, server *server.Server) error
- type ChangePasswordInput
- type Handler
- type SearchInput
- type SetIsActiveInput
Constants ¶
View Source
const ( ActionSetIsActive = "setIsActive" ActionChangePassword = "changePassword" ActionSearch = "search" )
Variables ¶
This section is empty.
Functions ¶
func CollectionFormatter ¶
func CollectionFormatter(request *types.APIRequest, collection *types.GenericCollection)
func Formatter ¶
func Formatter(request *types.APIRequest, resource *types.RawResource)
Types ¶
type ChangePasswordInput ¶
type SearchInput ¶
type SearchInput struct {
Name string `json:"name"`
}
type SetIsActiveInput ¶
type SetIsActiveInput struct {
IsActive bool `json:"isActive"`
}
Click to show internal directories.
Click to hide internal directories.