Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchAPIService ¶
type FetchAPIService struct {
// contains filtered or unexported fields
}
FetchAPIService implements the FetchAPIService interface using gRPC
func New ¶
func New(settings *config.Settings) *FetchAPIService
New creates a new instance of FetchAPIService with the specified server address, vehicle contract address, aftermarket contract address, and chain ID
func (*FetchAPIService) GetAllCloudEvents ¶ added in v0.1.9
func (c *FetchAPIService) GetAllCloudEvents(ctx context.Context, filter *pb.SearchOptions, limit int32) ([]cloudevent.CloudEvent[json.RawMessage], error)
GetAllCloudEvents retrieves the most recent file content matching the provided search criteria
func (*FetchAPIService) GetLatestCloudEvent ¶
func (c *FetchAPIService) GetLatestCloudEvent(ctx context.Context, filter *pb.SearchOptions) (cloudevent.CloudEvent[json.RawMessage], error)
GetLatestCloudEvent retrieves the most recent file content matching the provided search criteria
Click to show internal directories.
Click to hide internal directories.