config

package
v0.0.0-...-9750751 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host              string
	Port              uint32
	Environment       string
	Poolname          string
	ConnectionTimeout uint32
	Label             string
	MessageQueueSize  uint32
	CalType           string
	CalLogFile        string
	Enabled           bool
	LogLevel          string
	LogInfoPercent    float32
	NumberConnections uint32
}
var CalConfig *Config

func (*Config) Default

func (c *Config) Default()

func (*Config) Dump

func (c *Config) Dump()

func (*Config) SetPoolName

func (c *Config) SetPoolName(name string)

func (*Config) Validate

func (c *Config) Validate()

Jump to

Keyboard shortcuts

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