mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-11-23 02:42:07 +01:00
17 lines
410 B
Go
17 lines
410 B
Go
|
package model
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
type Client struct {
|
||
|
Id string `json:"id"`
|
||
|
Name string `json:"name"`
|
||
|
Email string `json:"email"`
|
||
|
Enable bool `json:"enable"`
|
||
|
Created time.Time `json:"created"`
|
||
|
Updated time.Time `json:"updated"`
|
||
|
AllowedIPs string `json:"allowedIPs"`
|
||
|
Address string `json:"address"`
|
||
|
PrivateKey string `json:"privateKey"`
|
||
|
PublicKey string `json:"publicKey"`
|
||
|
}
|