common

package
v1.24.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package common contains common utilities that are shared among other packages. See each sub-package for detail.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrObjectReleased   = errors.New("Object already released.")
	ErrBadConfiguration = errors.New("Bad configuration.")
	ErrObjectNotFound   = errors.New("Object not found.")
	ErrDuplicatedName   = errors.New("Duplicated name.")
)

Functions

This section is empty.

Types

type Releasable

type Releasable interface {
	// Release releases all references to accelerate garbage collection.
	Release()
}

Releasable interface is for those types that can release its members.

Directories

Path Synopsis
Package alloc provides a light-weight memory allocation mechanism.
Package alloc provides a light-weight memory allocation mechanism.
internal
GENERATED CODE.
GENERATED CODE.
Package dice contains common functions to generate random number.
Package dice contains common functions to generate random number.
log
Package net contains common network utilities.
Package net contains common network utilities.
web

Jump to

Keyboard shortcuts

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