Documentation
¶
Index ¶
- Constants
- func GenerateRepo(cpRepoPath string) error
- func GetRpcByName(rpcName string) (string, error)
- func InitConfig(cpRepoPath string, standalone bool) error
- func UpdateConfigFile(cpRepoPath string, multiAddress, nodeName string, port int) error
- type API
- type CONTRACT
- type ComputeNode
- type HUB
- type LOG
- type MCS
- type RPC
- type Registry
- type UBI
Constants ¶
View Source
const (
DefaultRpc = "swan"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateRepo ¶ added in v0.4.6
func GetRpcByName ¶
func InitConfig ¶
Types ¶
type ComputeNode ¶
type ComputeNode struct { API API UBI UBI LOG LOG HUB HUB MCS MCS Registry Registry RPC RPC CONTRACT CONTRACT }
ComputeNode is a compute node config
func GetConfig ¶
func GetConfig() *ComputeNode
Click to show internal directories.
Click to hide internal directories.