Documentation
¶
Overview ¶
Package service provides the relayer HTTP service layer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Engine ¶
type Engine interface {
IsReady() bool
}
Engine is the interface for checking relayer readiness.
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
HTTP wraps Service and Engine to provide HTTP endpoints.
type Service ¶
type Service interface {
ListTransfers(ctx context.Context, limit int) ([]*relayer.Transfer, error)
GetTransfer(ctx context.Context, id string) (*relayer.Transfer, error)
}
Service defines the interface for relayer query operations.
Click to show internal directories.
Click to hide internal directories.