Versions in this module Expand all Collapse all v1 v1.18.1 Apr 6, 2022 Changes in this version + type Option func(o *Options) + func WithHandler(h string) Option + func WithNamespace(ns string) Option + func WithRegistry(r registry.Registry) Option + func WithResolver(r resolver.Resolver) Option + type Options struct + Handler string + Namespace string + Registry registry.Registry + Resolver resolver.Resolver + func NewOptions(opts ...Option) Options + type Router interface + Close func() error + Endpoint func(r *http.Request) (*api.Service, error) + Options func() Options + Route func(r *http.Request) (*api.Service, error)