init

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

func MustMarshalJSON

func MustMarshalJSON(obj interface{}) string

Types

type Env

type Env struct {
	InstanceID      string `json:"instance_id"`
	InstanceType    string `json:"instance_type"`
	PodId           string `json:"pod_id"`
	LocalIP         string `json:"local_ip"`
	ServerPort      int    `json:"server_port"`
	HtapPort        int    `json:"htap_port"`
	MgrPort         int    `json:"mgr_port"`
	MppPort         int    `json:"mpp_port"`
	CpuCore         int    `json:"cpu_core"`
	MemSize         int64  `json:"mem_size"`
	MetaDBHost      string `json:"metadb_host"`
	MetaDBPort      int    `json:"metadb_port"`
	MetaDBUser      string `json:"metadb_user"`
	MetaDBEncPasswd string `json:"metadb_enc_passwd"`
	EncKey          string `json:"enc_key"`
}

func (*Env) Load

func (env *Env) Load() error

Jump to

Keyboard shortcuts

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