Documentation
¶
Index ¶
- Constants
- func BagGetAll(c *gin.Context)
- func BagPut(c *gin.Context)
- func BagRemove(c *gin.Context)
- func BagsHistory(c *gin.Context)
- func BulkyGetAll(c *gin.Context)
- func BulkyPut(c *gin.Context)
- func BulkyRemove(c *gin.Context)
- func CaptchaChallenge(c *gin.Context)
- func CaptchaRedeem(c *gin.Context)
- func ChainAddUser(c *gin.Context)
- func ChainApproveUser(c *gin.Context)
- func ChainChangeUserNote(c *gin.Context)
- func ChainChangeUserWarden(c *gin.Context)
- func ChainCreate(c *gin.Context)
- func ChainDelete(c *gin.Context)
- func ChainDeleteUnapproved(c *gin.Context)
- func ChainGet(c *gin.Context)
- func ChainGetAll(c *gin.Context)
- func ChainGetNear(c *gin.Context)
- func ChainGetUserNote(c *gin.Context)
- func ChainRemoveUser(c *gin.Context)
- func ChainUpdate(c *gin.Context)
- func ChatChannelCreate(c *gin.Context)
- func ChatChannelDelete(c *gin.Context)
- func ChatChannelEdit(c *gin.Context)
- func ChatChannelList(c *gin.Context)
- func ChatChannelMessageCreate(c *gin.Context)
- func ChatChannelMessageDelete(c *gin.Context)
- func ChatChannelMessageList(c *gin.Context)
- func ChatChannelMessagePinToggle(c *gin.Context)
- func ChatGetType(c *gin.Context)
- func ChatPatchType(c *gin.Context)
- func ContactMail(c *gin.Context)
- func ContactNewsletter(c *gin.Context)
- func CronDaily(db *gorm.DB)
- func CronHourly(db *gorm.DB)
- func CronMonthly(db *gorm.DB)
- func EventCreate(c *gin.Context)
- func EventDelete(c *gin.Context)
- func EventGet(c *gin.Context)
- func EventGetAll(c *gin.Context)
- func EventGetPrevious(c *gin.Context)
- func EventICal(c *gin.Context)
- func EventUpdate(c *gin.Context)
- func GetRouteCoordinates(c *gin.Context)
- func ImageDeleteDeprecated(c *gin.Context)
- func ImagePurge(c *gin.Context)
- func ImageUpload(c *gin.Context)
- func InfoGet(c *gin.Context)
- func InfoTopTen(c *gin.Context)
- func LoginEmail(c *gin.Context)
- func LoginSuperAsGenerateLink(c *gin.Context)
- func LoginSuperAsRedirect(c *gin.Context)
- func LoginValidate(c *gin.Context)
- func Logout(c *gin.Context)
- func MiddlewareSetDB(db *gorm.DB) gin.HandlerFunc
- func PaymentsInitiate(c *gin.Context)
- func PaymentsWebhook(c *gin.Context)
- func Ping(c *gin.Context)
- func Poke(c *gin.Context)
- func RefreshToken(c *gin.Context)
- func RegisterBasicUser(c *gin.Context)
- func RegisterChainAdmin(c *gin.Context)
- func RouteOptimize(c *gin.Context)
- func RouteOrderGet(c *gin.Context)
- func RouteOrderSet(c *gin.Context)
- func UserCheckIfEmailExists(c *gin.Context)
- func UserGet(c *gin.Context)
- func UserGetAllOfChain(c *gin.Context)
- func UserHasNewsletter(c *gin.Context)
- func UserPurge(c *gin.Context)
- func UserTransferChain(c *gin.Context)
- func UserUpdate(c *gin.Context)
- type ArrTspCityWithIsPaused
- type BagsHistoryResponseBag
- type BagsHistoryResponseBagHistory
- type TspCityWithIsPaused
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 BagsHistory ¶
func BulkyGetAll ¶
func BulkyRemove ¶
func CaptchaChallenge ¶
func CaptchaRedeem ¶
func ChainAddUser ¶
func ChainApproveUser ¶
func ChainChangeUserNote ¶
func ChainChangeUserWarden ¶
func ChainCreate ¶
func ChainDelete ¶
func ChainDeleteUnapproved ¶
func ChainGetAll ¶
func ChainGetNear ¶
func ChainGetUserNote ¶
func ChainRemoveUser ¶
func ChainUpdate ¶
func ChatChannelCreate ¶
func ChatChannelDelete ¶
func ChatChannelEdit ¶
func ChatChannelList ¶
func ChatChannelMessageList ¶
func ChatGetType ¶
func ChatPatchType ¶
func ContactMail ¶
func ContactNewsletter ¶
func CronHourly ¶
func CronMonthly ¶
func EventCreate ¶
func EventDelete ¶
func EventGetAll ¶
func EventGetPrevious ¶
func EventUpdate ¶
func GetRouteCoordinates ¶
func ImageDeleteDeprecated ¶
func ImagePurge ¶
func ImageUpload ¶
func InfoTopTen ¶
func LoginEmail ¶
func LoginSuperAsRedirect ¶
func LoginValidate ¶
func MiddlewareSetDB ¶
func MiddlewareSetDB(db *gorm.DB) gin.HandlerFunc
func PaymentsInitiate ¶
func PaymentsWebhook ¶
func RefreshToken ¶
func RegisterBasicUser ¶
func RegisterChainAdmin ¶
Sizes and Address is set to the user and the chain
func RouteOptimize ¶
func RouteOrderGet ¶
func RouteOrderSet ¶
func UserCheckIfEmailExists ¶
func UserGetAllOfChain ¶
func UserHasNewsletter ¶
func UserTransferChain ¶
func UserUpdate ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.