core

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 5 Imported by: 0

README

core

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(engine *gin.Engine, address string, port int, mode RunMode, onBefore func(address string)) error

func StopServer

func StopServer(pid int) error

Types

type RunMode

type RunMode string
const (
	ModeRelease RunMode = gin.ReleaseMode
	ModeDebug   RunMode = gin.DebugMode
	ModeTest    RunMode = gin.TestMode
)

Directories

Path Synopsis
dao
data module
database module

Jump to

Keyboard shortcuts

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