routes

package
v0.0.0-...-e10842c Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(sc *cfg.Server, r *gin.Engine, orm *orm.ORM) error

Auth routes to support OAuth for auth providers

func AuthAPI

func AuthAPI(sc *cfg.Server, r *gin.Engine, orm *orm.ORM) error

AuthAPI is the related routes which is only available user to be authenticated user may use weather OAuth with JWT auth token or x-api-key headers

func Misc

func Misc(sc *cfg.Server, r *gin.Engine, orm *orm.ORM) error

Misc routes

func OpenAPI

func OpenAPI(sc *cfg.Server, r *gin.Engine, orm *orm.ORM) error

OpenAPI is the related open routes which can be used without being authenticated

Types

This section is empty.

Jump to

Keyboard shortcuts

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