Documentation ¶
Overview ¶
Package attestation contains attestation REST API handling for the relayer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircleAPI ¶
type CircleAPI struct {
// contains filtered or unexported fields
}
CircleAPI is a wrapper for Circle's REST API.
type MockCircleAPI ¶
type MockCircleAPI struct {
// contains filtered or unexported fields
}
MockCircleAPI is a mock CircleAPI for testing.
func NewMockCircleAPI ¶
func NewMockCircleAPI() *MockCircleAPI
NewMockCircleAPI creates a new MockCircleAPI.
func (*MockCircleAPI) GetAttestation ¶
func (m *MockCircleAPI) GetAttestation(ctx context.Context, txHash string) (attestation []byte, err error)
GetAttestation is a mock GetAttestation.
func (*MockCircleAPI) SetGetAttestation ¶
SetGetAttestation overrides the attestFunc.
Click to show internal directories.
Click to hide internal directories.