eventapi

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: AGPL-3.0 Imports: 8 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

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