global

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.2.0"
	Status  = "release"
)

Variables

View Source
var (
	// Log output,1->output 2->log only 3->log&output
	LoggingMethod = 1
	// Default OS
	OS      = "linux"
	Passed  = "" /* 1534-byte string literal not displayed */
	Waiting = "" /* 1538-byte string literal not displayed */
	Failed  = "" /* 1538-byte string literal not displayed */
	Unknown = "" /* 1546-byte string literal not displayed */
)
View Source
var (
	// Repo rejected
	RejectedRepo []string
)

Functions

func GetAllRouters

func GetAllRouters() []routerDetail

GetAllRouters get routers registered.

func GetEngine

func GetEngine() *gin.Engine

GetEngine get global used engine

func SetEngine

func SetEngine(eng *gin.Engine)

SetEngine set global used engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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