config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Kind       string        `yaml:"kind"`
	URI        string        `yaml:"uri"`
	PoolSize   int           `yaml:"poolSize"`
	TLSConfig  *tls.Config   `json:"-"`
	SSLEnabled bool          `yaml:"sslEnabled" json:"-"`
	Timeout    time.Duration `yaml:"timeout"`
	// Logger logger for adapter, by default use openlog.GetLogger()
	Logger openlog.Logger `json:"-"`
}

Jump to

Keyboard shortcuts

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