move some util definitions and code to common lib
This commit is contained in:
@@ -22,13 +22,6 @@ type StaticFile struct {
|
||||
MimeType MimeType
|
||||
}
|
||||
|
||||
// parsed vmpath data (ie node/type/vmid)
|
||||
type VMPath struct {
|
||||
Node string
|
||||
Type string
|
||||
VMID string
|
||||
}
|
||||
|
||||
// type used for templated <select>
|
||||
type Select struct {
|
||||
ID string
|
||||
@@ -43,17 +36,6 @@ type Option struct {
|
||||
Display string
|
||||
}
|
||||
|
||||
type RequestContext struct {
|
||||
Cookies map[string]string
|
||||
}
|
||||
|
||||
type Auth struct {
|
||||
Username string
|
||||
Token string
|
||||
CSRF string
|
||||
AccessManagerTicket string
|
||||
}
|
||||
|
||||
type Icon struct {
|
||||
ID string
|
||||
Src string
|
||||
|
||||
Reference in New Issue
Block a user