configures

package
v0.0.29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteConf added in v0.0.12

type RouteConf struct {
	Path        string       `json:"path"`
	Controller  string       `json:"controller"`
	Method      string       `json:"method"`
	Middlewares []string     `json:"middlewares"`
	Routes      []*RouteConf `json:"routes"`
}

type ServerConf

type ServerConf struct {
	Base       ServerConf_Base       `json:"base"`
	HttpServer ServerConf_HttpServer `json:"http_server"`
}

type ServerConf_Base added in v0.0.25

type ServerConf_Base struct {
	ModuleName string `json:"module_name"`
}

type ServerConf_HttpServer added in v0.0.25

type ServerConf_HttpServer struct {
	Enable bool   `json:"enable"`
	Port   string `json:"port"`
}

Jump to

Keyboard shortcuts

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