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
|
||||
// should be used. This is especially necessary for the custom
|
||||
// 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
|
||||
// should be the one used for port forwarding.
|
||||
// It cannot be nil for the internal state.
|
||||
|
||||
@@ -15,7 +15,7 @@ type Loop struct {
|
||||
settings Settings
|
||||
settingsMutex sync.RWMutex
|
||||
service Service
|
||||
// Fixed injected objets
|
||||
// Fixed injected objects
|
||||
routing Routing
|
||||
client *http.Client
|
||||
portAllower PortAllower
|
||||
|
||||
@@ -14,7 +14,7 @@ type Service struct {
|
||||
settings Settings
|
||||
puid int
|
||||
pgid int
|
||||
// Fixed injected objets
|
||||
// Fixed injected objects
|
||||
routing Routing
|
||||
client *http.Client
|
||||
portAllower PortAllower
|
||||
@@ -32,7 +32,7 @@ func New(settings Settings, routing Routing, client *http.Client,
|
||||
settings: settings,
|
||||
puid: puid,
|
||||
pgid: pgid,
|
||||
// Fixed injected objets
|
||||
// Fixed injected objects
|
||||
routing: routing,
|
||||
client: client,
|
||||
portAllower: portAllower,
|
||||
|
||||
@@ -19,7 +19,7 @@ type Loop struct {
|
||||
settingsMutex sync.RWMutex
|
||||
ipData models.PublicIP
|
||||
ipDataMutex sync.RWMutex
|
||||
// Fixed injected objets
|
||||
// Fixed injected objects
|
||||
fetcher Fetcher
|
||||
logger Logger
|
||||
// Fixed parameters
|
||||
|
||||
Reference in New Issue
Block a user