Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Servers []Server `json:"servers"`
Namespaces Namespaces `json:"namespaces"`
Ika Ika `json:"ika"`
}
type Dialer ¶ added in v0.0.32
type Dialer struct {
Timeout Duration `json:"timeout"`
FallbackDelay Duration `json:"fallbackDelay"`
KeepAliveConfig KeepAliveConfig `json:"keepAliveConfig"`
}
type Duration ¶ added in v0.0.23
func (*Duration) UnmarshalJSON ¶ added in v0.0.23
type KeepAliveConfig ¶ added in v0.0.32
type Logger ¶ added in v0.0.23
type Logger struct {
Level string `json:"level"`
Format string `json:"format"`
FlushInterval Duration `json:"flushInterval"`
AddSource bool `json:"addSource"`
}
func (*Logger) ApplyDefaults ¶ added in v0.0.32
func (l *Logger) ApplyDefaults()
type Namespaces ¶
type Options ¶ added in v0.0.23
type Options struct {
Plugins map[string]ika.PluginFactory
}
type Plugins ¶ added in v0.0.13
type Plugins []Plugin
type Server ¶
type Server struct {
Addr string `json:"addr"`
DisableGeneralOptionsHandler bool `json:"disableGeneralOptionsHandler"`
ReadTimeout Duration `json:"readTimeout"`
ReadHeaderTimeout Duration `json:"readHeaderTimeout"`
WriteTimeout Duration `json:"writeTimeout"`
IdleTimeout Duration `json:"idleTimeout"`
MaxHeaderBytes int `json:"maxHeaderBytes"`
}
type Transport ¶
type Transport struct {
DisableKeepAlives bool `json:"disableKeepAlives"`
DisableCompression bool `json:"disableCompression"`
MaxIdleConns int `json:"maxIdleConns"`
MaxIdleConnsPerHost int `json:"maxIdleConnsPerHost"`
MaxConnsPerHost int `json:"maxConnsPerHost"`
IdleConnTimeout Duration `json:"idleConnTimeout"`
ResponseHeaderTimeout Duration `json:"responseHeaderTimeout"`
ExpectContinueTimeout Duration `json:"expectContinueTimeout"`
MaxResponseHeaderBytes int64 `json:"maxResponseHeaderBytes"`
WriteBufferSize int `json:"writeBufferSize"`
ReadBufferSize int `json:"readBufferSize"`
Dialer Dialer `json:"dialer"`
}
Click to show internal directories.
Click to hide internal directories.