Versions in this module Expand all Collapse all v1 v1.18.3 Feb 20, 2020 v1.18.2 Feb 20, 2020 Changes in this version + var DefaultBrokers = map[string]func(...broker.Option) broker.Broker + var DefaultClients = map[string]func(...client.Option) client.Client + var DefaultCmd = newCmd() + var DefaultFlags = []cli.Flag + var DefaultRegistries = map[string]func(...registry.Option) registry.Registry + var DefaultRuntimes = map[string]func(...runtime.Option) runtime.Runtime + var DefaultSelectors = map[string]func(...selector.Option) selector.Selector + var DefaultServers = map[string]func(...server.Option) server.Server + var DefaultTransports = map[string]func(...transport.Option) transport.Transport + func App() *cli.App + func Init(opts ...Option) error + type Cmd interface + App func() *cli.App + Init func(opts ...Option) error + Options func() Options + func NewCmd(opts ...Option) Cmd + type Option func(o *Options) + func Broker(b *broker.Broker) Option + func Client(c *client.Client) Option + func Description(d string) Option + func Name(n string) Option + func NewBroker(name string, b func(...broker.Option) broker.Broker) Option + func NewClient(name string, b func(...client.Option) client.Client) Option + func NewRegistry(name string, r func(...registry.Option) registry.Registry) Option + func NewRuntime(name string, r func(...runtime.Option) runtime.Runtime) Option + func NewSelector(name string, s func(...selector.Option) selector.Selector) Option + func NewServer(name string, s func(...server.Option) server.Server) Option + func NewTransport(name string, t func(...transport.Option) transport.Transport) Option + func Registry(r *registry.Registry) Option + func Selector(s *selector.Selector) Option + func Server(s *server.Server) Option + func Transport(t *transport.Transport) Option + func Version(v string) Option + type Options struct + Broker *broker.Broker + Brokers map[string]func(...broker.Option) broker.Broker + Client *client.Client + Clients map[string]func(...client.Option) client.Client + Context context.Context + Description string + Name string + Registries map[string]func(...registry.Option) registry.Registry + Registry *registry.Registry + Runtime *runtime.Runtime + Runtimes map[string]func(...runtime.Option) runtime.Runtime + Selector *selector.Selector + Selectors map[string]func(...selector.Option) selector.Selector + Server *server.Server + Servers map[string]func(...server.Option) server.Server + Transport *transport.Transport + Transports map[string]func(...transport.Option) transport.Transport + Version string + func DefaultOptions() Options