Versions in this module Expand all Collapse all v0 v0.0.2 Jan 8, 2025 v0.0.1 Jan 4, 2025 Changes in this version + const HTTP1 + const HTTP2 + const HTTP3 + const HTTP3Draft29 + type ClientFactory interface + NewHostClient func() (hc client.HostClient, err error) + type Config struct + func New() *Config + func (c *Config) Add(protocol string, factory interface{}) + func (c *Config) Delete(protocol string) + func (c *Config) Get(name string) ServerFactory + func (c *Config) Load(core Core, protocol string) (server protocol.Server, err error) + func (c *Config) LoadAll(core Core) (serverMap ServerMap, streamServerMap StreamServerMap, err error) + func (c *Config) SetAltHeader(target, altHeader string) + type Core interface + GetCtxPool func() *sync.Pool + GetTracer func() tracer.Controller + IsRunning func() bool + ServeHTTP func(c context.Context, ctx *app.RequestContext) + type ServerFactory interface + New func(core Core) (server protocol.Server, err error) + type ServerMap map[string]protocol.Server + type StreamServerFactory interface + New func(core Core) (server protocol.StreamServer, err error) + type StreamServerMap map[string]protocol.StreamServer