Documentation
¶
Index ¶
- type Application
- type Handler
- func (h *Handler) AcceptVisitor(ctx context.Context, v configkit.Visitor) error
- func (h *Handler) HandlerType() configkit.HandlerType
- func (h *Handler) Identity() configkit.Identity
- func (h *Handler) IsDisabled() bool
- func (h *Handler) MessageNames() configkit.EntityMessageNames
- func (h *Handler) TypeName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
IdentityValue configkit.Identity
TypeNameValue string
MessageNamesValue configkit.EntityMessageNames
HandlersValue configkit.HandlerSet
}
Application is an implementation of config.Application.
func (*Application) AcceptVisitor ¶
AcceptVisitor calls the appropriate method on v for this entity type.
func (*Application) Handlers ¶
func (a *Application) Handlers() configkit.HandlerSet
Handlers returns the handlers within this application.
func (*Application) Identity ¶
func (a *Application) Identity() configkit.Identity
Identity returns the identity of the entity.
func (*Application) MessageNames ¶
func (a *Application) MessageNames() configkit.EntityMessageNames
MessageNames returns information about the messages used by the entity.
func (*Application) TypeName ¶
func (a *Application) TypeName() string
TypeName returns the fully-qualified type name of the entity.
type Handler ¶
type Handler struct {
IdentityValue configkit.Identity
TypeNameValue string
MessageNamesValue configkit.EntityMessageNames
HandlerTypeValue configkit.HandlerType
IsDisabledValue bool
}
Handler is an implementation of config.Handler.
func (*Handler) AcceptVisitor ¶
AcceptVisitor calls the appropriate method on v for this entity type.
func (*Handler) HandlerType ¶
func (h *Handler) HandlerType() configkit.HandlerType
HandlerType returns the type of handler.
func (*Handler) IsDisabled ¶ added in v0.13.1
IsDisabled returns true if the handler is disabled.
func (*Handler) MessageNames ¶
func (h *Handler) MessageNames() configkit.EntityMessageNames
MessageNames returns information about the messages used by the entity.