params

package
v0.0.0-...-91eafdd Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VersionMajor = 0         // Major version component of the current release
	VersionMinor = 0         // Minor version component of the current release
	VersionPatch = 1         // Patch version component of the current release
	VersionMeta  = "develop" // Version metadata to append to the version string
)

Variables

View Source
var Version = func() string {
	return fmt.Sprintf("%d.%d.%d", VersionMajor, VersionMinor, VersionPatch)
}()

Version holds the textual version string.

View Source
var VersionWithMeta = func() string {
	v := Version
	if VersionMeta != "" {
		v += "-" + VersionMeta
	}
	return v
}()

VersionWithMeta holds the textual version string including the metadata.

Functions

This section is empty.

Types

type Config

type Config struct {
	ChainId   uint64           `json:"chainId"`
	Crawler   crawler.Config   `json:"crawler"`
	Rpc       common.RPCConfig `json:"rpc"`
	State     state.Config     `json:"state"`
	Kafka     kafka.Config     `json:"kafka"`
	Transmute TransmuteConfig  `json:"transmute"`
}

type TransmuteConfig

type TransmuteConfig struct {
	Port           uint64               `json:"port"`
	TrustedProxies []string             `json:"trustedProxies"`
	Alchemy        common.AlchemyConfig `json:"alchemy"`
}

Jump to

Keyboard shortcuts

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