pool

package
v0.0.0-...-37f65c1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *Config) *pool

Exported method for creation of a connection-pool takes []string ex: ['http://localhost:9000','http://localhost:9000']

Types

type Config

type Config struct {
	Backends    []string
	NumConns    int
	EnableCache bool
	MaxRetries  int
}

Jump to

Keyboard shortcuts

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