remove context public interface

This commit is contained in:
Shelikhoo
2021-05-04 20:22:13 +01:00
parent 007a15bd79
commit 620d8f1fb5
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -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 {