mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 14:57:44 -05:00
rework document for API
This commit is contained in:
parent
38f522fb72
commit
c66a1678da
@ -45,8 +45,8 @@ func toContext(ctx context.Context, v *Instance) context.Context {
|
|||||||
return ctx
|
return ctx
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ToBackgroundDetachedContext create a detached context from another context
|
/*ToBackgroundDetachedContext create a detached context from another context
|
||||||
Internal API
|
Internal API
|
||||||
*/
|
*/
|
||||||
func ToBackgroundDetachedContext(ctx context.Context) context.Context {
|
func ToBackgroundDetachedContext(ctx context.Context) context.Context {
|
||||||
instance := MustFromContext(ctx)
|
instance := MustFromContext(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user