node-api/types.go
Adam Štrauch 9348504f9e
Final touches
* 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
2020-07-26 00:34:16 +02:00

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
}