Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultCoroutinesCnt int = 1000
Variables ¶
This section is empty.
Functions ¶
func LogRuntimeiInfo ¶
func LogRuntimeiInfo(info RuntimeInfo, usedCores int, appVersion string)
func PrettyPrint ¶
func PrettyPrint(data interface{})
Types ¶
type KConfig ¶
type KConfig struct { // main app config DstHost string `json:"dst_host"` DstPort int `json:"dst_port"` CoroutinesCnt int `json:"coroutines_cnt"` MaxProcs int `json:"max_procs"` }
func ComposeCfg ¶
type RuntimeInfo ¶
func CollectRuntimeInfo ¶
func CollectRuntimeInfo() RuntimeInfo
func (*RuntimeInfo) String ¶
func (info *RuntimeInfo) String() string
Click to show internal directories.
Click to hide internal directories.