mirror of
https://github.com/ngoduykhanh/wireguard-ui
synced 2024-05-12 18:46:41 +02:00
15 lines
268 B
Go
15 lines
268 B
Go
package model
|
|
|
|
// Interface model
|
|
type Interface struct {
|
|
Name string `json:"name"`
|
|
IPAddress string `json:"ip_address"`
|
|
}
|
|
|
|
// BaseData struct to pass value to the base template
|
|
type BaseData struct {
|
|
Active string
|
|
CurrentUser string
|
|
Admin bool
|
|
}
|