Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface { NotifyOrderCreated(ctx context.Context, notify OrderCreated) error NotifyOrderCanceled(ctx context.Context, notify OrderCanceled) error NotifyOrderReady(ctx context.Context, notify OrderReady) error }
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New(customers CustomerRepository) *Application
func (Application) NotifyOrderCanceled ¶
func (a Application) NotifyOrderCanceled(ctx context.Context, notify OrderCanceled) error
func (Application) NotifyOrderCreated ¶
func (a Application) NotifyOrderCreated(ctx context.Context, notify OrderCreated) error
func (Application) NotifyOrderReady ¶
func (a Application) NotifyOrderReady(ctx context.Context, notify OrderReady) error
type CustomerCacheRepository ¶
type CustomerRepository ¶
type OrderCanceled ¶
type OrderCreated ¶
type OrderReady ¶
Click to show internal directories.
Click to hide internal directories.