Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFlags ¶ added in v0.70.0
Types ¶
type Config ¶ added in v0.70.0
Config defines the web server configuration.
func DefaultConfig ¶ added in v0.70.0
type Server ¶ added in v0.70.0
type Server struct {
// contains filtered or unexported fields
}
Server is a web server.
func NewServer ¶ added in v0.70.0
NewServer initializes a web server with the given handler (typically an http.MuxServe).
Click to show internal directories.
Click to hide internal directories.