user

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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)

func RegisterSchema

func RegisterSchema(scaled *config.Scaled, server *server.Server) error

Types

type ChangePasswordInput

type ChangePasswordInput struct {
	CurrentPassword string `json:"currentPassword"`
	NewPassword     string `json:"newPassword"`
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (Handler) ServeHTTP

func (h Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type SearchInput

type SearchInput struct {
	Name string `json:"name"`
}

type SetIsActiveInput

type SetIsActiveInput struct {
	IsActive bool `json:"isActive"`
}

Jump to

Keyboard shortcuts

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