Documentation
¶
Overview ¶
Package ports holds runtime inputs that have no transport or persistence policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction interface {
Commit() error
Rollback()
Meta(string) (string, error)
SetMeta(string, string) error
Audit(string, string) error
Task(string) (*domain.Task, error)
Tasks() ([]domain.Task, error)
PutTask(domain.Task, int64) error
Record(string, string) (*domain.Record, error)
Records(string) ([]domain.Record, error)
PutRecord(domain.Record) error
TokenHash(string) (string, error)
PutTokenHash(string, string) error
Receipt(string, string) (*Receipt, error)
PutReceipt(Receipt) error
AppendBatch(domain.CommitBatch, string) error
Watermark() (int64, error)
Batches(int64, int) ([]Batch, error)
}
Click to show internal directories.
Click to hide internal directories.