thirdparty_bakers

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BakingBadProvider    = "baking-bad"
	MyTezosBakerProvider = "mytezosbaker"
	TezosNodesProvider   = "tezos-nodes"
	TzstatsProvider      = "tzstats"
)

Variables

This section is empty.

Functions

func UpdateBakers

func UpdateBakers(ctx context.Context, unit UnitOfWork) error

Types

type BakersProvider

type BakersProvider interface {
	GetBakers() (bakers []models.ThirdPartyBaker, err error)
}

type ThirdPartyBakers

type ThirdPartyBakers struct {
	// contains filtered or unexported fields
}

type UnitOfWork

type UnitOfWork interface {
	Start(ctx context.Context)
	Commit() error
	GetThirdPartyBakers() thirdparty_bakers.Repo
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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