Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveDoubleEndorsementEvidenceFor ¶
func SaveDoubleEndorsementEvidenceFor(ctx context.Context, op models.Operation, repo EvidenceRepo, provider BakesProvider) error
func SaveUnprocessedDoubleEndorsementEvidences ¶
func SaveUnprocessedDoubleEndorsementEvidences(ctx context.Context, unit UnitOfWork, provider BakesProvider) (err error)
Types ¶
type BakesProvider ¶
type EvidenceRepo ¶
type EvidenceRepo interface { Last() (found bool, evidence models.DoubleOperationEvidenceExtended, err error) Create(evidence models.DoubleOperationEvidence) error }
type UnitOfWork ¶
type UnitOfWork interface { GetOperation() operation.Repo GetDoubleEndorsement() double_endorsement.Repo }
Click to show internal directories.
Click to hide internal directories.