behavior

package
v0.0.0-...-42841ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EvtTopic = "quadratic-roots:calculation_initialized:v1"
	CmdTopic = "quadratic-roots:initialize_calculation:v1"
)

Variables

This section is empty.

Functions

func ApplyEvt

func ApplyEvt() behavior.IBehaviorPlugin

func TryCmd

func TryCmd() behavior.IBehaviorPlugin

Types

type IApplyEvt

type IApplyEvt interface {
	behavior.IApplyEvt
}

type ICmd

type ICmd interface {
	behavior.ICmd
}

func NewCmd

func NewCmd(calcID schema.IIdentity, payload contract.Payload) (ICmd, error)

type IEvt

type IEvt interface {
	behavior.IEvt
}

func NewEvt

func NewEvt(beh behavior.IBehavior, payload contract.Payload) IEvt

NewEvt creates a new instance of IEvt

type ITryCmd

type ITryCmd interface {
	behavior.ITryCmd
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL