router

package
v0.0.0-...-9257e39 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitProxy

func InitProxy(ch cache.Cache) *gin.Engine

Initialize the function of the reverse proxy server and implement multi-machine deployment through the proxy.

func InitRouter

func InitRouter(db data.Database, ch cache.Cache) *gin.Engine

InitRouter initialize routing and add local middleware. Only one main route is set up here to load static files and process requests, and URL of this website adopted consistent style.

Types

This section is empty.

Jump to

Keyboard shortcuts

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