pool

package
v0.0.0-...-14c233f Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPool = New(1024)

Functions

func Get

func Get() *ringbuffer.RingBuffer

func Put

func Put(r *ringbuffer.RingBuffer)

Types

type RingBufferPool

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

func New

func New(initSize int) *RingBufferPool

func (*RingBufferPool) Get

func (*RingBufferPool) Put

Jump to

Keyboard shortcuts

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