common

package
v2.8.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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 added in v1.11.1

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.
Package loader is a generated protocol buffer package.
Package loader is a generated protocol buffer package.
log
Package log is a generated protocol buffer package.
Package log is a generated protocol buffer package.
Package net is a generated protocol buffer package.
Package net is a generated protocol buffer package.
Package protocol is a generated protocol buffer package.
Package protocol is a generated protocol buffer package.
web

Jump to

Keyboard shortcuts

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