config

package
v0.0.0-...-d9fdf4f Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// chain server
	ChainServerAddr string
	//
	GrpcAddr string
}

func GetConfig

func GetConfig() *Config

type NodeConfig

type NodeConfig struct {
	Generate     bool
	GivenPrivate string
	GrpcPort     int
	NodeDir      string
	ChainServer  string
}

Jump to

Keyboard shortcuts

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