Documentation
¶
Index ¶
- Variables
- func Ack(ctx context.Context, id int) error
- func Close(ctx context.Context) error
- func GetEvent(ctx context.Context) (offset int, event schema.OrderEvent, err error)
- func Init(cfg *config.Config) func(context.Context) error
- func PersistOrder(ctx context.Context, orderID uuid.UUID, event domain.Event) (domain.Order, error)
- type Order
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInfrastructure = errors.New(`infrastructure`) ErrNoEvents = errors.New(`no new event into log`) )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.