config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FornoRC0Url       = "https://rc0-forno.celo-testnet.org/"
	FornoAlfajoresUrl = "https://alfajores-forno.celo-testnet.org/"
)

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig()

Types

type HttpServerConfig

type HttpServerConfig struct {
	RequestTimeout time.Duration
	Port           int
	Interface      string
}
var HttpServer HttpServerConfig

func (*HttpServerConfig) ListenAddress

func (hs *HttpServerConfig) ListenAddress() string

type NodeConfig

type NodeConfig struct {
	Uri string
}
var Node NodeConfig

Jump to

Keyboard shortcuts

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