eventapi

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatastoreDependencies

type DatastoreDependencies struct {
	Signer    ethereum.Signer
	Transport transport.Transport
	Feeds     []ethereum.Address
	Logger    log.Logger
}

type Dependencies

type Dependencies struct {
	EventStore *store.EventStore
	Transport  transport.Transport
	Logger     log.Logger
}

type EventAPI

type EventAPI struct {
	ListenAddr string  `json:"listenAddr"`
	Storage    storage `json:"storage"`
}

func (*EventAPI) Configure

func (c *EventAPI) Configure(d Dependencies) (*api.EventAPI, error)

func (*EventAPI) ConfigureStorage added in v0.4.2

func (c *EventAPI) ConfigureStorage() (store.Storage, error)

Jump to

Keyboard shortcuts

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