Adam Štrauch
9348504f9e
* Possibility to pass token in query param * More appropriate names for gathering and resource updating functions * Shorter measuring delay * Container status available immediatelly when needed
13 lines
279 B
Go
13 lines
279 B
Go
package main
|
|
|
|
// Message represents response with information about results of something
|
|
type Message struct {
|
|
Message string `json:"message,omitempty"`
|
|
Errors []string `json:"errors,omitempty"`
|
|
}
|
|
|
|
// data passed into the template
|
|
type templateData struct {
|
|
Token string
|
|
}
|