Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ListenAddr string `yaml:"listen_addr" default:":5555"`
LogLevel string `yaml:"log_level" default:"warn"`
Metrics MetricsConfig `yaml:"metrics"`
PProfAddr *string `yaml:"pprof_addr" default:":6060"`
Forky *service.Config `yaml:"forky"`
HTTP *api.Config `yaml:"http" default:"{}"`
}
func NewConfigFromYAML ¶
func NewConfigFromYAMLFile ¶
type MetricsConfig ¶
type NotFoundRedirectRespWr ¶ added in v0.0.21
type NotFoundRedirectRespWr struct {
http.ResponseWriter
// contains filtered or unexported fields
}
func (*NotFoundRedirectRespWr) Write ¶ added in v0.0.21
func (w *NotFoundRedirectRespWr) Write(p []byte) (int, error)
func (*NotFoundRedirectRespWr) WriteHeader ¶ added in v0.0.21
func (w *NotFoundRedirectRespWr) WriteHeader(status int)
Click to show internal directories.
Click to hide internal directories.