common

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultCodec defaults codec keys to english
	DefaultCodec = keys.English
)

Variables

This section is empty.

Functions

func DefaultCLIHome added in v0.6.0

func DefaultCLIHome() string

DefaultCLIHome default home directories for the application CLI

func DefaultNodeHome added in v0.6.0

func DefaultNodeHome() string

DefaultNodeHome default home directories for the application daemon

func InitSDKConfig added in v0.6.0

func InitSDKConfig()

InitSDKConfig configures address prefixes for validator, accounts and consensus nodes

func NewLogger

func NewLogger(w io.Writer) log.Logger

NewLogger returns formatted new log

func RunForever added in v0.0.6

func RunForever(fn func(ctx context.Context) error) error

RunForever runs a function in the background, forever. Returns error in case of failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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