user

package
v0.0.0-...-491cb66 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRouter

func InitRouter(a *App)

InitRouter 初始化路由

Types

type App

type App struct {
	*config.Config
	// contains filtered or unexported fields
}

App 代表一个 Web 应用

func NewApp

func NewApp(cfg *config.Config) (*App, func(), error)

NewApp Web 应用构造函数

func (*App) Run

func (a *App) Run()

Run 启动 Web 应用

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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