route

package
v0.0.0-...-39e813e Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(inner gin.HandlerFunc) (outer gin.HandlerFunc)

Auth is a wrapper to check authentication

func CORS

func CORS() gin.HandlerFunc

CORS is a wrapper to add header

func InitRouter

func InitRouter() (r *gin.Engine)

InitRouter is to generate & initialize router router returned

Types

This section is empty.

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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