Documentation
¶
Overview ¶
Package constraints defines interfaces/constraints for the various interfaces defined in the Dogma package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶
type Configurer interface {
Identity(name, key string)
}
Configurer is the common interface for the Dogma configurer interfaces that are passed to the [Entity.Configure] method.
type Entity ¶
type Entity[C Configurer] interface { Configure(C) }
Entity is the common interface for the Dogma interfaces that represent an entity within a Dogma configuration; that is, types that are configured by implementing a Configure() method.
type Handler ¶
type Handler[C HandlerConfigurer[R], R dogma.MessageRoute] interface { Entity[C] }
Handler is an Entity that represents a Dogma handler.
type HandlerConfigurer ¶
type HandlerConfigurer[R dogma.MessageRoute] interface { dogma.HandlerConfigurer Routes(...R) }
HandlerConfigurer is a Configurer for configuring Handler entities.
Click to show internal directories.
Click to hide internal directories.