config

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultCPUDifficulty = uint64(19) // 1 cpu
	DefaultCPUDifficulty = uint64(12) // 1 cpu
	// DefaultMemoryDifficulty  = uint64(9) // 16 G
	DefaultMemoryDifficulty  = uint64(6) // 2 G
	DefaultCpuWorkTimeout    = uint64(5)
	DefaultMemoryWorkTimeout = uint64(5)
)

Functions

func SetConfig

func SetConfig(ep, ksPath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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