Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chain ¶
type Chain = struct { ChainID int `yaml:"id" koanf:"id"` ChainCode string `yaml:"code" koanf:"code"` // ChainGroup Algorithm string `yaml:"algorithm,omitempty" koanf:"algorithm,omitempty"` Endpoints []*EndpointInfo `yaml:"endpoints,omitempty" koanf:"endpoints,omitempty"` Services *ChainServices `yaml:"services,omitempty" koanf:"services,omitempty"` }
type ChainGroup ¶
type ChainGroup = struct { Algorithm string `yaml:"algorithm,omitempty" koanf:"algorithm,omitempty"` Endpoints []*EndpointInfo `yaml:"endpoints,omitempty" koanf:"endpoints,omitempty"` }
type ChainServices ¶
type ChainServices = struct { Activenode ChainGroup `yaml:"activenode" koanf:"activenode"` Fullnode ChainGroup `yaml:"fullnode" koanf:"fullnode"` }
Click to show internal directories.
Click to hide internal directories.