Add wireguard server key pair generation

This commit is contained in:
Khanh Ngo
2020-04-20 00:15:25 +07:00
parent febf075f8d
commit d5ff0cb704
5 changed files with 113 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ type Server struct {
// ServerKeypair model
type ServerKeypair struct {
PrivateKey string `json:"private_key"`
PublicKey string `json:"pulbic_key"`
PublicKey string `json:"public_key"`
UpdatedAt time.Time `json:"updated_at"`
}