app

package
v0.0.0-...-1816592 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type App

type App struct {
	*AppPath
	// contains filtered or unexported fields
}

func Init

func Init(port uint64) *App

func (*App) Run

func (a *App) Run()

type AppPath

type AppPath struct {
	// contains filtered or unexported fields
}

func (*AppPath) Any

func (a *AppPath) Any(relativePath string, handler func(*gin.Context))

func (*AppPath) Get

func (a *AppPath) Get(relativePath string, handler func(*gin.Context))

func (*AppPath) Group

func (a *AppPath) Group(relativePath string, handler func(*gin.Context)) *AppPath

Jump to

Keyboard shortcuts

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