clipool

package
v1.9.0-tc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCreatorFunc

type ClientCreatorFunc func() interface{}

type ClientPool

type ClientPool struct {
	// contains filtered or unexported fields
}

func (*ClientPool) Alloc

func (p *ClientPool) Alloc() interface{}

func (*ClientPool) Free

func (p *ClientPool) Free(v interface{})

func (*ClientPool) Init

func (p *ClientPool) Init(init int, max int, allocFunc ClientCreatorFunc)

Jump to

Keyboard shortcuts

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