Documentation ¶
Overview ¶
************************************************** Copyright 2016 https://github.com/AsynkronIT/protoactor-go
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ****************************************************
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Functions ¶
This section is empty.
Types ¶
type ConfigFile ¶
type ConfigFile struct {
ConfigFile Configuration `json:"Configuration"`
}
type Configuration ¶
type Configuration struct { Magic int64 `json:"Magic"` Version int `json:"Version"` SeedList []string `json:"SeedList"` BookKeepers []string `json:"BookKeepers"` // The default book keepers' publickey HttpRestPort int `json:"HttpRestPort"` RestCertPath string `json:"RestCertPath"` RestKeyPath string `json:"RestKeyPath"` HttpInfoPort uint16 `json:"HttpInfoPort"` HttpInfoStart bool `json:"HttpInfoStart"` HttpWsPort int `json:"HttpWsPort"` HttpJsonPort int `json:"HttpJsonPort"` HttpLocalPort int `json:"HttpLocalPort"` OauthServerUrl string `json:"OauthServerUrl"` NoticeServerUrl string `json:"NoticeServerUrl"` NodePort int `json:"NodePort"` NodeType string `json:"NodeType"` WebSocketPort int `json:"WebSocketPort"` PrintLevel int `json:"PrintLevel"` IsTLS bool `json:"IsTLS"` CertPath string `json:"CertPath"` KeyPath string `json:"KeyPath"` CAPath string `json:"CAPath"` GenBlockTime uint `json:"GenBlockTime"` MultiCoreNum uint `json:"MultiCoreNum"` EncryptAlg string `json:"EncryptAlg"` MaxLogSize int64 `json:"MaxLogSize"` MaxTxInBlock int `json:"MaxTransactionInBlock"` MaxHdrSyncReqs int `json:"MaxConcurrentSyncHeaderReqs"` ConsensusType string `json:"ConsensusType"` }
var Parameters *Configuration
Click to show internal directories.
Click to hide internal directories.