dashboard

package
v0.0.0-...-9aaffb5 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CorsMiddleware

func CorsMiddleware() gin.HandlerFunc

cors

func HandleOrigin

func HandleOrigin() gin.HandlerFunc

origin 处理跨域请求,支持options访问

func Open

func Open(uri string) error

Open calls the OS default program for uri

func Routers

func Routers() *gin.Engine

func Run

func Run(port int)

func Server

func Server(addr string)

Types

type Cmd

type Cmd struct {
	Path string
	Args []string
}

Jump to

Keyboard shortcuts

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