Help us shape the future of Go! Take the 2026 Go Developer Survey

core

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	DbName     string
	DbUser     string
	DbPassword string
	DbPoolSize int
	DbHost     string
	DbPort     int
	BaseCoin   string
	ServerPort int
	IsDebug    bool
}

func NewEnvironment

func NewEnvironment() *Environment

type Explorer

type Explorer struct {
	CoinRepository               coins.Repository
	BlockRepository              blocks.Repository
	AddressRepository            address.Repository
	TransactionRepository        transaction.Repository
	InvalidTransactionRepository invalid_transaction.Repository
	RewardRepository             reward.Repository
	SlashRepository              slash.Repository
	ValidatorRepository          validator.Repository
	StakeRepository              stake.Repository
	Environment                  Environment
	Cache                        *cache.ExplorerCache
}

func NewExplorer

func NewExplorer(db *pg.DB, env *Environment) *Explorer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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