Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit 7116e28

Browse files
interface changes
1 parent 65f60e0 commit 7116e28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

network/context.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ func WithNoDial(ctx context.Context, reason string) context.Context {
2323
return context.WithValue(ctx, noDial, reason)
2424
}
2525

26-
// EXPERIMENTAL: We might go ahead with introducing a new API in the Network to accomplish this later on.
26+
// EXPERIMENTAL
2727
// WithForceDirectDial constructs a new context with an option that instructs the network
2828
// to attempt to force a direct connection to a peer via a dial even if a proxied connection to it already exists.
2929
func WithForceDirectDial(ctx context.Context, reason string) context.Context {
3030
return context.WithValue(ctx, forceDirectDial, reason)
3131
}
3232

33-
// EXPERIMENTAL: We might go ahead with introducing a new API in the Network to accomplish this later on.
33+
// EXPERIMENTAL
3434
// GetForceDirectDial returns true if the force direct dial option is set in the context.
3535
func GetForceDirectDial(ctx context.Context) (forceDirect bool, reason string) {
3636
v := ctx.Value(forceDirectDial)

0 commit comments

Comments
 (0)