command

package
v0.0.0-...-d8c2073 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandEventBus

type CommandEventBus interface {
	CommandSender
	EventPublisher
}

type CommandSender

type CommandSender interface {
	Send(ctx context.Context, cmd interface{}) error
}

type EventPublisher

type EventPublisher interface {
	Publish(ctx context.Context, v interface{}) error
}

type Handler

type Handler interface {
	Handle(ctx context.Context, v interface{}) error
}

type MessageMarshaler

type MessageMarshaler interface {
}

type Middleware

type Middleware interface {
	Before(ctx context.Context, v interface{}) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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