pool

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT 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