database

package
v0.1.0-alpha-10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(dbConfigs []config.Database) *Service

func (*Service) VerifyFeeRecord

func (s *Service) VerifyFeeRecord(expectedRecord *entity.Fee) (bool, error)

func (*Service) VerifyScheduleRecord

func (s *Service) VerifyScheduleRecord(expectedRecord *entity.Schedule) (bool, error)

func (*Service) VerifyTransferAndSignatureRecords

func (s *Service) VerifyTransferAndSignatureRecords(expectedTransferRecord *entity.Transfer, amount string, signatures []string) (bool, error)

func (*Service) VerifyTransferRecord

func (s *Service) VerifyTransferRecord(expectedTransferRecord *entity.Transfer) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL