Documentation ¶
Overview ¶
Copyright [2018] [jc3wish]
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.
Copyright [2018] [jc3wish]
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 ¶
const VERSION = "v1.2.1-release"
Variables ¶
var ChannelQueueSize int = 1000
var CountQueueSize int = 3000
var DataDir = ""
var FileQueueUsable bool = true
是否开启文件队列,false 的话将不会启动文件队列功能
var FileQueueUsableCount uint32 = 10
配置 FileQueueUsableCountTimeDiff 参数 使用
var FileQueueUsableCountTimeDiff int64 = 5000
多少毫秒内有数据的情况下,写入 FileQueueUsableCount 次 内存队列后,队列都是满的状态 ,则启用 文件队列
var KeyCachePoolSize int = 50
var MyConf map[string]map[string]string
var TLS bool = false
var TLSServerCrtFile string = ""
var TLSServerKeyFile string = ""
var ToServerQueueSize int = 5000
Functions ¶
func GetConfigVal ¶
Types ¶
This section is empty.