config

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 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