Documentation ¶
Index ¶
- type AppBuilder
- type AppFtor
- type CmdSpoke
- type CmdSpokeBuilder
- type CmdSpokeFtor
- type GenCmdSpoke
- type GenCmdSpokeBuilder
- type GenCmdSpokeFtor
- type IApp
- type ICommandSpoke
- type IGenCmdSpoke
- type IMediatorSpoke
- type IProjectionSpoke
- type IPulsarSpoke
- type IQuerySpoke
- type ISpoke
- type ProjectionSpoke
- type ProjectionSpokeBuilder
- type ProjectionSpokeFtor
- type PulsarSpoke
- type QrySpoke
- type Spoke
- type SpokeBuilder
- type SpokeFtor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppBuilder ¶
type AppBuilder func() IApp
type CmdSpoke ¶
type CmdSpoke struct { *Spoke // contains filtered or unexported fields }
func NewCmdSpoke ¶
type CmdSpokeBuilder ¶
type CmdSpokeBuilder func() ICommandSpoke
type CmdSpokeFtor ¶
type CmdSpokeFtor func() ICommandSpoke
type GenCmdSpoke ¶
type GenCmdSpoke struct { *Spoke // contains filtered or unexported fields }
func NewGenCmdSpoke ¶
func NewGenCmdSpoke(name schema.Name) *GenCmdSpoke
type GenCmdSpokeBuilder ¶
type GenCmdSpokeBuilder[T behavior.ICmd] func() IGenCmdSpoke[T]
type GenCmdSpokeFtor ¶
type GenCmdSpokeFtor[T behavior.ICmd] func() IGenCmdSpoke[T]
type ICommandSpoke ¶
type ICommandSpoke interface { IMediatorSpoke }
type IGenCmdSpoke ¶
type IGenCmdSpoke[T behavior.ICmd] interface { ICommandSpoke }
IGenCmdSpoke is a generic CMD ScreamingApp Spoke, discriminated by T of type ICmd
type IMediatorSpoke ¶
type IMediatorSpoke interface { ISpoke }
type IProjectionSpoke ¶
type IProjectionSpoke interface { ISpoke }
type IPulsarSpoke ¶
type IPulsarSpoke interface { ISpoke }
type IQuerySpoke ¶
type IQuerySpoke interface { ISpoke }
func NewQrySpoke ¶
func NewQrySpoke(name schema.Name, path string) (IQuerySpoke, error)
type ISpoke ¶
type ISpoke interface { comps.IComponent comps.IShutdown Run(ctx context.Context) func() error Inject(reactions ...comps.ISpokePlugin) ISpoke }
type ProjectionSpoke ¶
type ProjectionSpoke struct { *Spoke // contains filtered or unexported fields }
func NewPrjSpoke ¶
func NewPrjSpoke( name schema.Name, ) *ProjectionSpoke
type ProjectionSpokeBuilder ¶
type ProjectionSpokeBuilder func() IProjectionSpoke
type ProjectionSpokeFtor ¶
type ProjectionSpokeFtor func() IProjectionSpoke
type PulsarSpoke ¶
type PulsarSpoke struct { *Spoke // contains filtered or unexported fields }
PulsarSpoke is a spoke that contains a number of PulseWorkers
type Spoke ¶
Spoke is the base struct to use when implementing new types of modules.
func NewSpoke ¶
func NewSpoke( name schema.Name, run runSpokeFunc, down downSpokeFunc, regPlugins registerPluginsFunc, ) *Spoke
NewSpoke returns a new Spoke
func (*Spoke) Inject ¶
func (f *Spoke) Inject(plugins ...comps.ISpokePlugin) ISpoke
Inject allows you to inject Reactions into the Spoke
type SpokeBuilder ¶
type SpokeBuilder func() ISpoke
Click to show internal directories.
Click to hide internal directories.