address

package
v0.0.0-...-b6b44b4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTTPAddresses

func GetHTTPAddresses(mod string) []string

func GetHTTPListen

func GetHTTPListen(mod string) string

func GetHTTPPort

func GetHTTPPort(mod string) int

func GetRPCAddresses

func GetRPCAddresses(mod string) []string

func GetRPCListen

func GetRPCListen(mod string) string

func GetRPCPort

func GetRPCPort(mod string) int

Types

type Module

type Module struct {
	HTTP      string   `yaml:"http"`
	RPC       string   `yaml:"rpc"`
	Addresses []string `yaml:"addresses"`
}

Jump to

Keyboard shortcuts

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