sharedpool

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MaxSharedPool = 8

Variables

This section is empty.

Functions

This section is empty.

Types

type SharedPool

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

func NewSharedPool

func NewSharedPool() *SharedPool

func (*SharedPool) TakeBytesPool

func (p *SharedPool) TakeBytesPool() *sync.Pool

func (*SharedPool) TakeMessagePool

func (p *SharedPool) TakeMessagePool() *sync.Pool

Jump to

Keyboard shortcuts

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