Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

Commit 7601d95

Browse files
committed
Add more detailed info about global variables.
1 parent bb76c3d commit 7601d95

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

cli/up.go

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,14 @@ import (
2424
)
2525

2626
var (
27-
Global config.Config
28-
iface *water.Interface
27+
// Global is the global interface configuration for the
28+
// application instance.
29+
Global config.Config
30+
// iface is the tun device used to pass packets between
31+
// Hyprspace and the user's machine.
32+
iface *water.Interface
33+
// RevLookup allow quick lookups of an incoming stream
34+
// for security before accepting or responding to any data.
2935
RevLookup map[string]bool
3036
)
3137

0 commit comments

Comments
 (0)