Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetHandlers ¶
func SetHandlers(serv *operations.TezTrackerAPI, db DbProvider)
SetHandlers initializes the API handlers with underlying services.
Types ¶
type MarketDataProvider ¶
type MarketDataProvider interface {
GetTezosMarketData() (md models.MarketInfo, err error)
}
MarketDataProvider is an interface for getting actual price and price changes.
Source Files ¶
- getAccountDelegators.go
- getAccountHandler.go
- getAccountListHandler.go
- getBakerListHandler.go
- getBakingRightsHandler.go
- getBlockBakingRightsHandler.go
- getBlockEndorsementsHandler.go
- getBlockHandler.go
- getBlockListHandler.go
- getContractListHandler.go
- getDoubleBakingListHandler.go
- getFutureBakingRightsHandler.go
- getHeadHandler.go
- getInfoHandler.go
- getOperationListHandler.go
- getSnapshotsHandler.go
- helpers.go
- main.go
Click to show internal directories.
Click to hide internal directories.