config

package
v0.0.0-...-4ca2c20 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	DataDir: "chatdata",
	Http:    server.DefaultHTTPConfig,
	Backend: api.DefaultBackendConfig,
}

Functions

func LoadTomlConfig

func LoadTomlConfig(file string) (*gethConfig, error)

LoadTomlConfig is unstable, See https://github.com/celo-org/celo-blockchain/issues/1066

func MustHexToECDSA

func MustHexToECDSA(hexkey string) *ecdsa.PrivateKey

Types

type Config

type Config struct {
	DataDir string
	Http    server.HTTPConfig
	Backend api.BackendConfig
}

func LoadINIConfig

func LoadINIConfig(file string) Config

Jump to

Keyboard shortcuts

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