contractcfg

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: GPL-3.0, GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Goimg     = "palletone/goimg"
	Javaimg   = "palletone/javaimg"
	Nodejsimg = "palletone/nodejsimg"
)

Variables

View Source
var DebugTest bool = false

Functions

func SetConfig

func SetConfig(cfg *Config)

Types

type Config

type Config struct {
	ContractAddress        string        //Jury节点ip地址
	ContractExecutetimeout time.Duration //合约调用执行时间
	ContractDeploytimeout  time.Duration //合约部署执行时间
	VmEndpoint             string        //与docker服务连接协议
	SysContract            map[string]string
}

func GetConfig

func GetConfig() *Config

func NewContractConfig added in v1.0.4

func NewContractConfig() *Config

Jump to

Keyboard shortcuts

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