env

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package env represents the environment of the current process, includes work path and config path etc.

Index

Constants

This section is empty.

Variables

View Source
var (
	Wd                 string             // working path
	Die                chan bool          // wait for end application
	Heartbeat          time.Duration      // Heartbeat internal
	Debug              bool               // enable Debug
	HandshakeValidator func([]byte) error // When you need to verify the custom data of the handshake request
	Serializer         serialize.Serializer
	GrpcOptions        = []grpc.DialOption{grpc.WithInsecure()}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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