ginroute

package
v0.0.0-...-979f385 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDemoAuth

func CheckDemoAuth(auth got5.Auth) func(c *gin.Context)

CheckDemoAuth 認証用ハンドラ

func CheckEventHandlerAuth

func CheckEventHandlerAuth(auth got5.Auth) func(c *gin.Context)

CheckEventHandlerAuth Check Auth

func CheckMatchLoaderAuth

func CheckMatchLoaderAuth(auth got5.Auth) func(c *gin.Context)

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

func SetupDemoUploadHandler(uploader got5.DemoUploader, auth got5.Auth, r gin.IRoutes)

SetupDemoUploadHandler Setup get5 upload demo handler

func SetupEventHandlers

func SetupEventHandlers(ctrl got5.EventHandler, auth got5.Auth, r gin.IRoutes)

SetupEventHandlers get5 handlers to specified fiber.Router

func SetupMatchLoadHandler

func SetupMatchLoadHandler(loader got5.MatchLoader, auth got5.Auth, r gin.IRoutes)

SetupMatchLoadHandler Setup get5 loadmatch handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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