mirror of
https://github.com/0x5eal/wg-lua.git
synced 2025-01-05 19:09:09 +00:00
chore(README): use luau types for methods
This commit is contained in:
parent
09bcbedc20
commit
1b4a703491
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ print(wg:generatePublicKey(keypair.privateKey))
|
||||||
|
|
||||||
- #### Wireguard:generateKeypair() -> { publicKey: string, privateKey: string }
|
- #### Wireguard:generateKeypair() -> { publicKey: string, privateKey: string }
|
||||||
> Generates a wireguard keypair consisting of a public and private key.
|
> Generates a wireguard keypair consisting of a public and private key.
|
||||||
- #### Wireguard:generatePublicKey(privateKey: number[]) -> string
|
- #### Wireguard:generatePublicKey(privateKey: { number }) -> string
|
||||||
> Generates a wireguard public key, given a private key.
|
> Generates a wireguard public key, given a private key.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
Loading…
Reference in a new issue