httpapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContextKey = "user"
	LocalIP    = "127.0.0.1"
)

Variables

View Source
var (
	JobChannel chan interface{}
)

Functions

This section is empty.

Types

type ApiServer

type ApiServer struct {
	Name  string
	App   *fiber.App
	Api   fiber.Router
	Files []string
}

func New

func New(name, conf string, front bool) *ApiServer

func (*ApiServer) Run

func (as *ApiServer) Run(job func(gConf *options.GlobalOPT))

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳