Versions in this module Expand all Collapse all v1 v1.12.2 Mar 3, 2025 Changes in this version + type HTTPConfig struct + IdleTimeout time.Duration + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + WriteTimeout time.Duration + type PathAdder interface + AddAliases func(endpoint string, aliases ...string) error + AddRoute func(handler http.Handler, base, endpoint string) error + func PathWriterFromWithReadLock(pather PathAdderWithReadLock) PathAdder + type PathAdderWithReadLock interface + AddAliasesWithReadLock func(endpoint string, aliases ...string) error + AddRouteWithReadLock func(handler http.Handler, base, endpoint string) error + type Server interface + Dispatch func() error + RegisterChain func(chainName string, ctx *snow.ConsensusContext, vm common.VM) + Shutdown func() error + func New(log logging.Logger, factory logging.Factory, listener net.Listener, ...) (Server, error)