Source File
server.go
Belonging Package
github.com/limanmys/render-engine/app/models
package models
// ServerModel Structure of the server obj
type Server struct {
ID string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
IPAddress string `json:"ip_address"`
ControlPort string `json:"control_port"`
UserID string `json:"-"`
CreatedAt string `json:"-"`
UpdatedAt string `json:"-"`
Os string `json:"os"`
Enabled string `json:"enabled"`
KeyPort int `json:"key_port"`
SharedKey int `json:"shared_key"`
}
func (Server) () string {
return "servers"
}
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |