routes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIGroupRouter

func APIGroupRouter(r *gin.RouterGroup)

APIGroupRouter sets up the router for /api group

func AuthGroupRouter

func AuthGroupRouter(r *gin.RouterGroup, ap *jwt.AuthProvider)

AuthGroupRouter sets up the routes for auth group api endpoints. This includes the following endpoints: * /oauth/refresh * /oauth/{provider} * /oauth/{provider}/refresh

func InfoGroupRoutes

func InfoGroupRoutes(r *gin.RouterGroup)

InfoGroupRoutes contains all the routes related to xene info.

func RegistryGroupRoutes

func RegistryGroupRoutes(r *gin.RouterGroup)

RegistryGroupRoutes sets up gin router for registry api group The base path of this router gropup is `/api/v1/registry/`

func StatusGroupRoutes

func StatusGroupRoutes(r *gin.RouterGroup)

StatusGroupRoutes sets up gin router for status api group The base path of this router gropup is `/api/v1/status/`

func WebhookGroupRoutes

func WebhookGroupRoutes(r *gin.RouterGroup)

WebhookGroupRoutes contains all the routes related to xene info.

Types

This section is empty.

Jump to

Keyboard shortcuts

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