2020-01-30 06:45:49 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
2020-01-30 07:17:29 +00:00
|
|
|
// Client structure
|
2020-01-30 06:45:49 +00:00
|
|
|
type Client struct {
|
2020-01-30 07:12:26 +00:00
|
|
|
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"`
|
2020-01-30 06:45:49 +00:00
|
|
|
}
|