Preparing search index...
The search index is not available
@sentinel-official/sentinel-js-sdk
@sentinel-official/sentinel-js-sdk
index
Wireguard
Class Wireguard
Index
Constructors
constructor
Properties
interface
peer
private
Key
public
Key
Methods
connect
disconnect
gen
Keys
parse
Config
show
write
Config
Constructors
constructor
new
Wireguard
(
)
:
Wireguard
Returns
Wireguard
Properties
interface
interface
:
null
|
Interface
peer
peer
:
null
|
Peer
private
Key
private
Key
:
string
public
Key
public
Key
:
string
Methods
connect
connect
(
configFile
?
)
:
void
Parameters
Optional
configFile
:
string
Returns
void
disconnect
disconnect
(
configFile
)
:
void
Parameters
configFile
:
string
Returns
void
gen
Keys
gen
Keys
(
)
:
{
[
k
:
string
]
:
string
;
}
Returns
{
[
k
:
string
]
:
string
;
}
[
k
:
string
]:
string
parse
Config
parse
Config
(
content
)
:
Promise
<
void
>
Parameters
content
:
string
Returns
Promise
<
void
>
show
show
(
configFile
?
)
:
Promise
<
any
[]
>
Parameters
Optional
configFile
:
string
Returns
Promise
<
any
[]
>
write
Config
write
Config
(
output
?
)
:
null
|
string
Parameters
Optional
output
:
string
Returns
null
|
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
interface
peer
private
Key
public
Key
connect
disconnect
gen
Keys
parse
Config
show
write
Config
@sentinel-official/sentinel-js-sdk
index
modules
node
plan
provider
queries
session
subscription
Generated using
TypeDoc