Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
Address: "127.0.0.1",
Port: "8080",
StaticDir: "./dist",
IndexFile: "index.html",
RoutingMode: "regex",
KeyFile: "",
CertFile: "",
}
Functions ¶
func Opt ¶ added in v1.2.0
func Opt[T comparable](v []T, def ...T) T
Types ¶
Click to show internal directories.
Click to hide internal directories.