1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-06 09:15:37 -05:00

move function to features

This commit is contained in:
Darien Raymond
2018-10-13 15:15:49 +02:00
parent 2440d276f1
commit abf0cb1ec4
12 changed files with 25 additions and 9 deletions

View File

@@ -25,6 +25,7 @@ func GetOrRegisterCounter(m Manager, name string) (Counter, error) {
return m.RegisterCounter(name)
}
// ManagerType returns the type of Manager interface. Can be used to implement common.HasType.
func ManagerType() interface{} {
return (*Manager)(nil)
}