Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus interface { DispatchQuery(context.Context, Query) (QueryResponse, error) RegisterQuery(Type, QueryHandler) }
type QueryHandler ¶
type QueryHandler interface {
Handle(context.Context, Query) (QueryResponse, error)
}
type QueryResponse ¶
type QueryResponse interface{}
Click to show internal directories.
Click to hide internal directories.