user

package
v0.0.0-...-a0869b6 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteRole

func DeleteRole(c *gin.Context)

func DeleteUser

func DeleteUser(c *gin.Context)

func GetRoles

func GetRoles(c *gin.Context)

func GetUser

func GetUser(c *gin.Context)

func GetUsers

func GetUsers(c *gin.Context)

func PatchUser

func PatchUser(c *gin.Context)

func PostRole

func PostRole(c *gin.Context)

Types

type UserPatch

type UserPatch struct {
	OperatingInitials string `json:"operatingInitials" form:"operatingInitials" yaml:"operatingInitials,omitempty" binding:"max=2"`
	Status            string `json:"status" form:"status" yaml:"status,omitempty" binding:"oneof='' none active inactive leave removed"`
	Delivery          string `json:"delivery" form:"delivery" yaml:"delivery,omitempty" binding:"oneof='' none minor major-solo certified"`
	Ground            string `json:"ground" form:"ground" yaml:"ground,omitempty" binding:"oneof='' none minor major-solo certified"`
	Local             string `json:"local" form:"local" yaml:"local,omitempty" binding:"oneof='' none minor major-solo certified"`
	Approach          string `json:"approach" form:"approach" yaml:"approach,omitempty" binding:"oneof='' none minor major-solo certified"`
	Enroute           string `json:"enroute" form:"enroute" yaml:"enroute,omitempty" binding:"oneof='' none major-solo certified"`
}

Jump to

Keyboard shortcuts

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