util

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultGossipConfig

func DefaultGossipConfig(bootstrap []string, endpoint string) *config.GossipConfig

DefaultGossipConfig returns a default gossip configuration

func GetIdentity

func GetIdentity(cfg *config.IdentityConfig) (common.PeerIdentityType, error)

GetIdentity gets peer identity

func GetTLSPath

func GetTLSPath(filename string) string

GetTLSPath returns the path to the tls files

Types

This section is empty.

Jump to

Keyboard shortcuts

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