Versions in this module Expand all Collapse all v0 v0.1.0 Apr 9, 2021 Changes in this version + type Option func(*Options) + func Client(c client.Client) Option + func Context(ctx context.Context) Option + func Registry(r registry.Registry) Option + func Server(s server.Server) Option + type Options struct + AfterStart []func() error + AfterStop []func() error + BeforeStart []func() error + BeforeStop []func() error + Client client.Client + Context context.Context + Registry registry.Registry + Server server.Server + type Service interface + Client func() client.Client + Init func(...Option) + Name func() string + Options func() Options + Run func() error + Server func() server.Server + String func() string + func NewService(opts ...Option) Service