Browse Source

release interface

pull/109/head
v2ray 9 years ago
parent
commit
c7f6426c88
  1. 12
      common/common.go

12
common/common.go

@ -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…
Cancel
Save