examples

package
v0.0.0-...-cefda66 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2016 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 T

type T struct {
}

T is gonna get pooled !

type TPool

type TPool struct {
	sync.Pool
}

func NewTPool

func NewTPool() *TPool

func (TPool) Get

func (p TPool) Get() *T

func (TPool) Put

func (pp TPool) Put(p *T)

Jump to

Keyboard shortcuts

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