Versions in this module Expand all Collapse all v4 v4.7.1 Feb 23, 2023 Changes in this version + type Option func(o *Options) + func WithHandler(h string) Option + func WithRegistry(r registry.Registry) Option + func WithResolver(r resolver.Resolver) Option + type Options struct + Handler string + Registry registry.Registry + Resolver resolver.Resolver + func NewOptions(opts ...Option) Options + type Router interface + Close func() error + Deregister func(ep *api.Endpoint) error + Endpoint func(r *http.Request) (*api.Service, error) + Options func() Options + Register func(ep *api.Endpoint) error + Route func(r *http.Request) (*api.Service, error)