mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-09-10 16:15:31 -04:00
remove context public interface
This commit is contained in:
+2
-2
@@ -7,9 +7,9 @@ import (
|
||||
)
|
||||
|
||||
// V2rayKey is the key type of Instance in Context, exported for test.
|
||||
type V2rayKey int
|
||||
type v2rayKeyType int
|
||||
|
||||
const v2rayKey V2rayKey = 1
|
||||
const v2rayKey v2rayKeyType = 1
|
||||
|
||||
// FromContext returns an Instance from the given context, or nil if the context doesn't contain one.
|
||||
func FromContext(ctx context.Context) *Instance {
|
||||
|
||||
Reference in New Issue
Block a user