Documentation
¶
Index ¶
- func Exists(cpPath string) bool
- func GenerateAndUpdateConfigFile(cpRepoPath string, multiAddress, nodeName string, port int) error
- func GetRpcByNetWorkName() (string, error)
- func InitConfig(cpRepoPath string, standalone bool) error
- type API
- type CONTRACT
- type ComputeNode
- type HUB
- type LOG
- type MCS
- type RPC
- type Registry
- type UBI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAndUpdateConfigFile ¶ added in v0.6.0
func GetRpcByNetWorkName ¶ added in v0.6.0
func InitConfig ¶
Types ¶
type ComputeNode ¶
type ComputeNode struct {
API API
UBI UBI
LOG LOG
HUB HUB
MCS MCS
Registry Registry
RPC RPC
CONTRACT CONTRACT `toml:"CONTRACT,omitempty"`
}
ComputeNode is a compute node config
func GetConfig ¶
func GetConfig() *ComputeNode
Click to show internal directories.
Click to hide internal directories.