release interface

pull/109/head
v2ray 2016-03-10 00:33:01 +01:00
parent be90c04deb
commit c7f6426c88
1 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,15 @@
// Package common contains common utilities that are shared among other packages.
// See each sub-package for detail.
package common
import (
"errors"
)
var (
ErrorAlreadyReleased = errors.New("Object already released.")
)
type Releasable interface {
Release()
}