address

package
v4.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddresses

func GetAddresses(mod string) []string

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

func IsIPv6

func IsIPv6(address string) bool

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