Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definitions ¶
type Definitions struct {
CORSStrict bool `toml:"cors_strict" json:"cors_strict" default:"true"`
DisableAuth bool `toml:"disable_auth,omitempty" json:"disable_auth" default:"false"`
BasePath string `toml:"base_path" json:"base_path"`
ReadTimeout time.Duration `toml:"read_timeout" json:"read_timeout" default:"15s"`
WriteTimeout time.Duration `toml:"write_timeout" json:"write_timeout" default:"15s"`
IdleTimeout time.Duration `toml:"idle_timeout" json:"idle_timeout" default:"60s"`
MaxHeaderBytes int `toml:"max_header_bytes" json:"max_header_bytes" default:"1048576"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Info ¶
func (s *Server) Info() []logger_api.Attribute
func (*Server) Initialize ¶
Click to show internal directories.
Click to hide internal directories.