2020-04-20 11:50:50 +02:00
|
|
|
package model
|
|
|
|
|
|
|
|
// Interface model
|
|
|
|
type Interface struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
IPAddress string `json:"ip_address"`
|
|
|
|
}
|
2020-04-20 12:32:49 +02:00
|
|
|
|
|
|
|
// BaseData struct to pass value to the base template
|
|
|
|
type BaseData struct {
|
2020-10-09 23:33:29 +02:00
|
|
|
Active string
|
|
|
|
CurrentUser string
|
2023-03-15 21:13:53 +01:00
|
|
|
Admin bool
|
2020-04-20 12:32:49 +02:00
|
|
|
}
|
2023-03-15 21:15:41 +01:00
|
|
|
|
|
|
|
// ClientServerHashes struct, to save hashes to detect changes
|
|
|
|
type ClientServerHashes struct {
|
|
|
|
Client string `json:"client"`
|
|
|
|
Server string `json:"server"`
|
|
|
|
}
|