Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
Option defines a single option function.
func WithContext ¶ added in v1.25.0
WithContext sets the context to use.
func WithLogger ¶
WithLogger provides a function to set the logger option.
func WithPidFile ¶ added in v1.25.0
WithPidFile sets to pidfile to use.
func WithRegistry ¶
WithRegistry provides a function to set the registry.
type Options ¶
type Options struct { Logger *zerolog.Logger Registry registry.Registry PidFile string Ctx context.Context }
Options defines the available options for this package.
Click to show internal directories.
Click to hide internal directories.