Add preshared key in wireguard config (#15)

This commit is contained in:
Khanh Ngo 2020-05-28 09:25:21 +07:00 committed by GitHub
parent f76de28a17
commit 9617425033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 1 deletions

View file

@ -8,7 +8,8 @@ import (
type Client struct {
ID string `json:"id"`
PrivateKey string `json:"private_key"`
PublicKey string `json:"pulbic_key"`
PublicKey string `json:"public_key"`
PresharedKey string `json:"preshared_key"`
Name string `json:"name"`
Email string `json:"email"`
AllocatedIPs []string `json:"allocated_ips"`