org_mid

package
v0.0.0-...-65ea52f Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CompMiddlewareKey = "compID"
View Source
const OrgAuthMiddlewareKey = "organizerID"

Variables

This section is empty.

Functions

func CheckCompMiddleware

func CheckCompMiddleware(svc *svc.Svc) gin.HandlerFunc

func CheckOrgCanUse

func CheckOrgCanUse() gin.HandlerFunc

func OrgAuthMiddleware

func OrgAuthMiddleware(svc *svc.Svc) gin.HandlerFunc

Types

type CheckCompMiddlewareReq

type CheckCompMiddlewareReq struct {
	CompId uint `uri:"compId" json:"compId"`
}

type OrgAuthMiddlewareReq

type OrgAuthMiddlewareReq struct {
	OrgId uint `uri:"orgId"`
}

Jump to

Keyboard shortcuts

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