Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Applicationer ¶
type Applicationer interface {
Run(ctx context.Context, options *application.Options, optionsFunc ...application.OptionsFunc) error
}
Applicationer is the service for get configuration commands
type GetConfigurationHandler ¶
type GetConfigurationHandler struct {
// contains filtered or unexported fields
}
GetConfigurationHandler is a handler for command
func NewGetConfigurationHandler ¶
func NewGetConfigurationHandler(options ...OptionsFunc) *GetConfigurationHandler
NewGetConfigurationHandler creates a new handler for command
func (*GetConfigurationHandler) Handler ¶
func (h *GetConfigurationHandler) Handler(ctx context.Context, options *Options) error
GetConfigurationHandler handles get configuration commands
func (*GetConfigurationHandler) Options ¶
func (h *GetConfigurationHandler) Options(opts ...OptionsFunc)
Options configure the service
type Options ¶
type Options struct {
Configuration *configuration.Configuration
}
Options for get configuration application
type OptionsFunc ¶
type OptionsFunc func(*GetConfigurationHandler)
OptionsFunc is a function used to configure the handler
func WithApplication ¶
func WithApplication(app Applicationer) OptionsFunc
Click to show internal directories.
Click to hide internal directories.