Documentation
¶
Index ¶
Constants ¶
View Source
const (
JSONRPCVersion = "2.0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfigJsonRPC ¶
type APIConfigJsonRPC struct {
Enabled bool `yaml:"enabled" json:"enabled" toml:"enabled"`
Port int `yaml:"port" json:"port" toml:"port"`
// EncryptionEnabled is kept for config compatibility. Use api_cfg.need_encryption.
EncryptionEnabled bool `yaml:"encryption_enabled" json:"encryption_enabled" toml:"encryption_enabled"`
}
var (
CurrentAPICfgJsonRPC *APIConfigJsonRPC
)
Click to show internal directories.
Click to hide internal directories.