Documentation ¶
Index ¶
- Variables
- type Data
- type ReportTeeAttestationEventRepo
- func (t *ReportTeeAttestationEventRepo) CreateReportTeeAttestationEvent(ctx context.Context, event biz.ReportTeeAttestationEvent) (*biz.ReportTeeAttestationEvent, error)
- func (t *ReportTeeAttestationEventRepo) FindReportTeeAttestationEvent(ctx context.Context, hash string, txIndex int) (*biz.ReportTeeAttestationEvent, *gorm.DB)
- func (t *ReportTeeAttestationEventRepo) LastReportTeeAttestationEvent(rtae *biz.ReportTeeAttestationEvent) (*biz.ReportTeeAttestationEvent, error)
- type TransactionManager
- type TransactionRepo
- type VerifierRepo
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewVerifierRepo, NewTransactionRepo, NewReportTeeAttestationEventRepo, wire.Bind(new(biz.VerifierRepo), new(*VerifierRepo)), wire.Bind(new(biz.TransactionRepo), new(*TransactionRepo)), wire.Bind(new(biz.ReportTeeAttestationEventRepo), new(*ReportTeeAttestationEventRepo)), )
ProviderSet is data providers.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
Data .
func (*Data) AppendCleanup ¶
func (d *Data) AppendCleanup(cleanup func())
type ReportTeeAttestationEventRepo ¶
type ReportTeeAttestationEventRepo struct {
// contains filtered or unexported fields
}
func NewReportTeeAttestationEventRepo ¶
func NewReportTeeAttestationEventRepo(data *Data, logger log.Logger) *ReportTeeAttestationEventRepo
func (*ReportTeeAttestationEventRepo) CreateReportTeeAttestationEvent ¶
func (t *ReportTeeAttestationEventRepo) CreateReportTeeAttestationEvent(ctx context.Context, event biz.ReportTeeAttestationEvent) (*biz.ReportTeeAttestationEvent, error)
func (*ReportTeeAttestationEventRepo) FindReportTeeAttestationEvent ¶
func (t *ReportTeeAttestationEventRepo) FindReportTeeAttestationEvent(ctx context.Context, hash string, txIndex int) (*biz.ReportTeeAttestationEvent, *gorm.DB)
func (*ReportTeeAttestationEventRepo) LastReportTeeAttestationEvent ¶
func (t *ReportTeeAttestationEventRepo) LastReportTeeAttestationEvent(rtae *biz.ReportTeeAttestationEvent) (*biz.ReportTeeAttestationEvent, error)
type TransactionManager ¶
type TransactionRepo ¶
type TransactionRepo struct {
// contains filtered or unexported fields
}
func NewTransactionRepo ¶
func NewTransactionRepo(data *Data, logger log.Logger) *TransactionRepo
func (*TransactionRepo) CreateTransaction ¶
func (t *TransactionRepo) CreateTransaction(ctx context.Context, transaction *biz.Transaction) (*biz.Transaction, error)
type VerifierRepo ¶
type VerifierRepo struct {
// contains filtered or unexported fields
}
func NewVerifierRepo ¶
func NewVerifierRepo(data *Data) *VerifierRepo
Click to show internal directories.
Click to hide internal directories.