chore(all): fix typos in code comments (#2216)
This commit is contained in:
@@ -19,7 +19,7 @@ type PortForwarding struct {
|
|||||||
// Provider is set to specify which custom port forwarding code
|
// Provider is set to specify which custom port forwarding code
|
||||||
// should be used. This is especially necessary for the custom
|
// should be used. This is especially necessary for the custom
|
||||||
// provider using Wireguard for a provider where Wireguard is not
|
// provider using Wireguard for a provider where Wireguard is not
|
||||||
// natively supported but custom port forwading code is available.
|
// natively supported but custom port forwarding code is available.
|
||||||
// It defaults to the empty string, meaning the current provider
|
// It defaults to the empty string, meaning the current provider
|
||||||
// should be the one used for port forwarding.
|
// should be the one used for port forwarding.
|
||||||
// It cannot be nil for the internal state.
|
// It cannot be nil for the internal state.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ type Loop struct {
|
|||||||
settings Settings
|
settings Settings
|
||||||
settingsMutex sync.RWMutex
|
settingsMutex sync.RWMutex
|
||||||
service Service
|
service Service
|
||||||
// Fixed injected objets
|
// Fixed injected objects
|
||||||
routing Routing
|
routing Routing
|
||||||
client *http.Client
|
client *http.Client
|
||||||
portAllower PortAllower
|
portAllower PortAllower
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ type Service struct {
|
|||||||
settings Settings
|
settings Settings
|
||||||
puid int
|
puid int
|
||||||
pgid int
|
pgid int
|
||||||
// Fixed injected objets
|
// Fixed injected objects
|
||||||
routing Routing
|
routing Routing
|
||||||
client *http.Client
|
client *http.Client
|
||||||
portAllower PortAllower
|
portAllower PortAllower
|
||||||
@@ -32,7 +32,7 @@ func New(settings Settings, routing Routing, client *http.Client,
|
|||||||
settings: settings,
|
settings: settings,
|
||||||
puid: puid,
|
puid: puid,
|
||||||
pgid: pgid,
|
pgid: pgid,
|
||||||
// Fixed injected objets
|
// Fixed injected objects
|
||||||
routing: routing,
|
routing: routing,
|
||||||
client: client,
|
client: client,
|
||||||
portAllower: portAllower,
|
portAllower: portAllower,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ type Loop struct {
|
|||||||
settingsMutex sync.RWMutex
|
settingsMutex sync.RWMutex
|
||||||
ipData models.PublicIP
|
ipData models.PublicIP
|
||||||
ipDataMutex sync.RWMutex
|
ipDataMutex sync.RWMutex
|
||||||
// Fixed injected objets
|
// Fixed injected objects
|
||||||
fetcher Fetcher
|
fetcher Fetcher
|
||||||
logger Logger
|
logger Logger
|
||||||
// Fixed parameters
|
// Fixed parameters
|
||||||
|
|||||||
Reference in New Issue
Block a user