package
Version:
v0.0.0-...-89c44d9
Opens a new window with list of versions in this module.
Published: Sep 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
AddrString string `long:"addr" env:"ADDR" description:"Static server address" default:"localhost:3129" json:"addr"`
Addr *net.TCPAddr `no-flag:"yes" json:"-"`
}
ListenAndServe listens and serves HTTP requests.
Shutdown shuts down the HTTP server.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.