controllers

package
v0.0.0-...-1702e6e Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnapprovedReasonOther         = "other"
	UnapprovedReasonOutOfAria     = "out_of_aria"
	UnapprovedReasonSizesGenders  = "sizes_genders"
	UnapprovedReasonLoopNotActive = "loop_not_active"
)
View Source
const ErrAllowTOHFalse = "The Terms of the Hosts must be approved"

Variables

This section is empty.

Functions

func BagGetAll

func BagGetAll(c *gin.Context)

func BagPut

func BagPut(c *gin.Context)

func BagRemove

func BagRemove(c *gin.Context)

func BagsHistory

func BagsHistory(c *gin.Context)

func BulkyGetAll

func BulkyGetAll(c *gin.Context)

func BulkyPut

func BulkyPut(c *gin.Context)

func BulkyRemove

func BulkyRemove(c *gin.Context)

func CaptchaChallenge

func CaptchaChallenge(c *gin.Context)

func CaptchaRedeem

func CaptchaRedeem(c *gin.Context)

func ChainAddUser

func ChainAddUser(c *gin.Context)

func ChainApproveUser

func ChainApproveUser(c *gin.Context)

func ChainChangeUserNote

func ChainChangeUserNote(c *gin.Context)

func ChainChangeUserWarden

func ChainChangeUserWarden(c *gin.Context)

func ChainCreate

func ChainCreate(c *gin.Context)

func ChainDelete

func ChainDelete(c *gin.Context)

func ChainDeleteUnapproved

func ChainDeleteUnapproved(c *gin.Context)

func ChainGet

func ChainGet(c *gin.Context)

func ChainGetAll

func ChainGetAll(c *gin.Context)

func ChainGetNear

func ChainGetNear(c *gin.Context)

func ChainGetUserNote

func ChainGetUserNote(c *gin.Context)

func ChainRemoveUser

func ChainRemoveUser(c *gin.Context)

func ChainUpdate

func ChainUpdate(c *gin.Context)

func ChatChannelCreate

func ChatChannelCreate(c *gin.Context)

func ChatChannelDelete

func ChatChannelDelete(c *gin.Context)

func ChatChannelEdit

func ChatChannelEdit(c *gin.Context)

func ChatChannelList

func ChatChannelList(c *gin.Context)

func ChatChannelMessageCreate

func ChatChannelMessageCreate(c *gin.Context)

func ChatChannelMessageDelete

func ChatChannelMessageDelete(c *gin.Context)

func ChatChannelMessageList

func ChatChannelMessageList(c *gin.Context)

func ChatChannelMessagePinToggle

func ChatChannelMessagePinToggle(c *gin.Context)

func ChatGetType

func ChatGetType(c *gin.Context)

func ChatPatchType

func ChatPatchType(c *gin.Context)

func ContactMail

func ContactMail(c *gin.Context)

func ContactNewsletter

func ContactNewsletter(c *gin.Context)

func CronDaily

func CronDaily(db *gorm.DB)

func CronHourly

func CronHourly(db *gorm.DB)

func CronMonthly

func CronMonthly(db *gorm.DB)

func EventCreate

func EventCreate(c *gin.Context)

func EventDelete

func EventDelete(c *gin.Context)

func EventGet

func EventGet(c *gin.Context)

func EventGetAll

func EventGetAll(c *gin.Context)

func EventGetPrevious

func EventGetPrevious(c *gin.Context)

func EventICal

func EventICal(c *gin.Context)

func EventUpdate

func EventUpdate(c *gin.Context)

func GetRouteCoordinates

func GetRouteCoordinates(c *gin.Context)

func ImageDeleteDeprecated

func ImageDeleteDeprecated(c *gin.Context)

func ImagePurge

func ImagePurge(c *gin.Context)

func ImageUpload

func ImageUpload(c *gin.Context)

func InfoGet

func InfoGet(c *gin.Context)

func InfoTopTen

func InfoTopTen(c *gin.Context)

func LoginEmail

func LoginEmail(c *gin.Context)
func LoginSuperAsGenerateLink(c *gin.Context)

func LoginSuperAsRedirect

func LoginSuperAsRedirect(c *gin.Context)

func LoginValidate

func LoginValidate(c *gin.Context)

func Logout

func Logout(c *gin.Context)

func MiddlewareSetDB

func MiddlewareSetDB(db *gorm.DB) gin.HandlerFunc

func Ping

func Ping(c *gin.Context)

func Poke

func Poke(c *gin.Context)

func RefreshToken

func RefreshToken(c *gin.Context)

func RegisterBasicUser

func RegisterBasicUser(c *gin.Context)

func RegisterChainAdmin

func RegisterChainAdmin(c *gin.Context)

Sizes and Address is set to the user and the chain

func RouteOptimize

func RouteOptimize(c *gin.Context)

func RouteOrderGet

func RouteOrderGet(c *gin.Context)

func RouteOrderSet

func RouteOrderSet(c *gin.Context)

func UserCheckIfEmailExists

func UserCheckIfEmailExists(c *gin.Context)

func UserGet

func UserGet(c *gin.Context)

func UserGetAllOfChain

func UserGetAllOfChain(c *gin.Context)

func UserHasNewsletter

func UserHasNewsletter(c *gin.Context)

func UserPurge

func UserPurge(c *gin.Context)

func UserTransferChain

func UserTransferChain(c *gin.Context)

func UserUpdate

func UserUpdate(c *gin.Context)

Types

type ArrTspCityWithIsPaused

type ArrTspCityWithIsPaused struct {
	Arr []TspCityWithIsPaused
}

func (*ArrTspCityWithIsPaused) FilterOutIsPausedToKeys

func (a *ArrTspCityWithIsPaused) FilterOutIsPausedToKeys(me string) []string

removes all cities except me and where is_paused is false

func (*ArrTspCityWithIsPaused) ToTspCities

func (a *ArrTspCityWithIsPaused) ToTspCities() []tsp.City[string]

type BagsHistoryResponseBag

type BagsHistoryResponseBag struct {
	ID      uint                            `json:"id"`
	Number  string                          `json:"number"`
	Color   string                          `json:"color"`
	History []BagsHistoryResponseBagHistory `json:"history"`
}

type BagsHistoryResponseBagHistory

type BagsHistoryResponseBagHistory struct {
	UID   string `json:"uid,omitempty"`
	Name  string `json:"name"`
	Email string `json:"-"`
	Date  string `json:"date,omitempty"`
	// contains filtered or unexported fields
}

type TspCityWithIsPaused

type TspCityWithIsPaused struct {
	tsp.City[string]
	IsPaused bool
}

Jump to

Keyboard shortcuts

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