config

package
v1.1.0-beta.07-04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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

View Source
const VERSION = "v1.1.0-beta.07"

Variables

View Source
var ChannelQueueSize int = 1000
View Source
var CountQueueSize int = 3000
View Source
var KeyCachePoolSize int = 50
View Source
var MyConf map[string]map[string]string
View Source
var TLS bool = false
View Source
var TLSServerCrtFile string = ""
View Source
var TLSServerKeyFile string = ""
View Source
var ToServerQueueSize int = 10000

Functions

func GetConf

func GetConf(module string) map[string]string

func GetConfigVal

func GetConfigVal(module string, key string) string

func LoadConf

func LoadConf(conffile string) map[string]map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL