trireme-lib: go.aporeto.io/trireme-lib/utils/allocator Index | Files

package allocator

import "go.aporeto.io/trireme-lib/utils/allocator"

Index

Package Files

allocator.go interfaces.go

type Allocator Uses

type Allocator interface {

    // Allocate allocates a string
    Allocate() string

    // Release releases a string
    Release(item string)
}

Allocator is an allocator interface

func New Uses

func New(start, size int) Allocator

New provides a new allocator

Package allocator imports 1 packages (graph) and is imported by 2 packages. Updated 2018-11-09. Refresh now. Tools for package owners.