MCPcopy Create free account
hub / github.com/Agelessbaby/BloomBlog / Http2

Struct Http2

cmd/api/httpConfig.go:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type Http2 struct {
9 Enable bool `json:"Enable" yaml:"Enable"`
10 DisableKeepalive bool `json:"DisableKeepalive" yaml:"DisableKeepalive"`
11 ReadTimeout time.Duration `json:"ReadTimeout" yaml:"ReadTimeout"`
12}
13type HertzCfg struct {
14 UseNetpoll bool `json:"UseNetpoll" yaml:"UseNetpoll"`
15 Http2 Http2 `json:"Http2" yaml:"Http2"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected