Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Secret = ""
Functions ¶
func WritePlusConfig ¶ added in v0.2.8
func WritePlusConfig(config *PlusConfig) error
Types ¶
type APIConfig ¶
type APIConfig struct { RPC struct { Endpoints []string `yaml:"endpoints"` } `yaml:"rpc"` NodeId string `yaml:"nodeId"` Secret string `yaml:"secret"` }
APIConfig API配置
type PlusConfig ¶ added in v0.2.8
type PlusConfig struct {
IsPlus bool `json:"isPlus"`
}
func ReadPlusConfig ¶ added in v0.2.8
func ReadPlusConfig() *PlusConfig
Click to show internal directories.
Click to hide internal directories.