Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigFileName = "api_admin.yaml"
Variables ¶
View Source
var Secret = ""
Functions ¶
func IsNewInstalled ¶ added in v1.2.7
func IsNewInstalled() bool
Types ¶
type APIConfig ¶
type APIConfig struct {
OldRPC struct {
Endpoints []string `yaml:"endpoints"`
DisableUpdate bool `yaml:"disableUpdate"`
} `yaml:"rpc,omitempty"`
RPCEndpoints []string `yaml:"rpc.endpoints,flow" json:"rpc.endpoints"`
RPCDisableUpdate bool `yaml:"rpc.disableUpdate" json:"rpc.disableUpdate"`
NodeId string `yaml:"nodeId"`
Secret string `yaml:"secret"`
}
APIConfig API配置
Click to show internal directories.
Click to hide internal directories.