mirror of https://github.com/v2ray/v2ray-core
v2ray
9 years ago
1 changed files with 12 additions and 0 deletions
@ -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() |
||||
} |
||||
|
Loading…
Reference in new issue