33 lines
404 B
Go
33 lines
404 B
Go
package main
|
|
|
|
type submit struct {
|
|
data string
|
|
}
|
|
|
|
type status struct {
|
|
state bool
|
|
lastchange int64
|
|
power int64
|
|
}
|
|
|
|
type event struct {
|
|
id int
|
|
title string
|
|
description string
|
|
media string
|
|
date string
|
|
}
|
|
|
|
type topic struct {
|
|
date string
|
|
days int
|
|
}
|
|
|
|
type database struct {
|
|
username string
|
|
password string
|
|
address string
|
|
port string
|
|
database string
|
|
}
|