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 }
Click to show internal directories.
Click to hide internal directories.