eventapi

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 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  `yaml:"listenAddr"`
	Storage    storage `yaml:"storage"`
}

func (*EventAPI) Configure

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

func (*EventAPI) ConfigureStorage

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