Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnforcementPolicy ¶ added in v1.0.5
type EnforcementPolicy struct { MinTime time.Duration `yaml:"minTime"` PermitWithoutStream bool `yaml:"permitWithoutStream"` }
func (EnforcementPolicy) Object ¶ added in v1.0.5
func (e EnforcementPolicy) Object() keepalive.EnforcementPolicy
type Grpc ¶ added in v1.0.5
type Grpc struct { Network string `yaml:"network"` Address string `yaml:"address"` Certificate *certificate.Certificate `yaml:"certificate"` KeepAlive KeepAlive `yaml:"keepAlive"` }
type Http ¶ added in v1.0.5
type Http struct { Ports Ports `yaml:"ports"` Timeout Timeout `yaml:"timeout"` Connection *tcp.Connection `yaml:"connection"` Certificate *certificate.Certificate `yaml:"certificate"` MaxHeaderBytes int `yaml:"maxHeaderBytes"` }
type KeepAlive ¶ added in v1.0.5
type KeepAlive struct { EnforcementPolicy EnforcementPolicy `yaml:"enforcementPolicy"` ServerParameters ServerParameters `yaml:"serverParameters"` }
type ServerParameters ¶ added in v1.0.5
type ServerParameters struct { MaxConnectionIdle time.Duration `yaml:"maxConnectionIdle"` MaxConnectionAge time.Duration `yaml:"maxConnectionAge"` MaxConnectionAgreGrace time.Duration `yaml:"maxConnectionAgreGrace"` Time time.Duration `yaml:"time"` Timeout time.Duration `yaml:"timeout"` Shutdown time.Duration `yaml:"shutdown"` }
func (ServerParameters) Object ¶ added in v1.0.5
func (s ServerParameters) Object() keepalive.ServerParameters
Click to show internal directories.
Click to hide internal directories.