Documentation ¶
Index ¶
- func CheckDemoAuth(auth got5.Auth) func(c *gin.Context)
- func CheckEventHandlerAuth(auth got5.Auth) func(c *gin.Context)
- func CheckMatchLoaderAuth(auth got5.Auth) func(c *gin.Context)
- func DemoUploadHandler(uploader got5.DemoUploader) func(c *gin.Context)
- func LoadMatchHandler(loader got5.MatchLoader) func(c *gin.Context)
- func OnEventHandler(ctrl got5.EventHandler) func(c *gin.Context)
- func SetupAllGet5Handlers(evh got5.EventHandler, loader got5.MatchLoader, uploader got5.DemoUploader, ...)
- func SetupDemoUploadHandler(uploader got5.DemoUploader, auth got5.Auth, r gin.IRoutes)
- func SetupEventHandlers(ctrl got5.EventHandler, auth got5.Auth, r gin.IRoutes)
- func SetupMatchLoadHandler(loader got5.MatchLoader, auth got5.Auth, r gin.IRoutes)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEventHandlerAuth ¶
CheckEventHandlerAuth Check Auth
func CheckMatchLoaderAuth ¶
CheckMatchLoaderAuth 認証用ハンドラ
func DemoUploadHandler ¶
func DemoUploadHandler(uploader got5.DemoUploader) func(c *gin.Context)
DemoUploadHandler POST CS:GO dem file. アップロードされたdemファイルを制御するハンドラ
func LoadMatchHandler ¶
func LoadMatchHandler(loader got5.MatchLoader) func(c *gin.Context)
LoadMatchHandler GET on get5_loadmatch_url "https://example.com/match_config.json" "Authorization" "Bearer <token>"
func OnEventHandler ¶
func OnEventHandler(ctrl got5.EventHandler) func(c *gin.Context)
OnEventHandler POST on /Get5_OnEvent
func SetupAllGet5Handlers ¶
func SetupAllGet5Handlers(evh got5.EventHandler, loader got5.MatchLoader, uploader got5.DemoUploader, auth got5.Auth, r gin.IRoutes)
SetupAllGet5Handlers Setup All Get5-related handlers
func SetupDemoUploadHandler ¶
SetupDemoUploadHandler Setup get5 upload demo handler
func SetupEventHandlers ¶
SetupEventHandlers get5 handlers to specified fiber.Router
func SetupMatchLoadHandler ¶
SetupMatchLoadHandler Setup get5 loadmatch handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.