wireguard-ui/model/misc.go

14 lines
250 B
Go
Raw Normal View History

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
}