2023-01-26 20:58:13 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
type submit struct {
|
|
|
|
data string
|
|
|
|
}
|
|
|
|
|
|
|
|
type status struct {
|
|
|
|
state bool
|
|
|
|
lastchange int64
|
|
|
|
power int64
|
|
|
|
}
|
2023-01-27 14:30:42 +00:00
|
|
|
|
|
|
|
type event struct {
|
2023-01-28 17:41:04 +00:00
|
|
|
id int
|
2023-01-27 14:30:42 +00:00
|
|
|
title string
|
|
|
|
description string
|
2023-01-28 17:41:04 +00:00
|
|
|
media string
|
2023-01-27 14:30:42 +00:00
|
|
|
date string
|
|
|
|
}
|
2023-01-28 13:23:31 +00:00
|
|
|
|
|
|
|
type topic struct {
|
|
|
|
date string
|
|
|
|
days int
|
|
|
|
}
|
2023-01-28 18:00:25 +00:00
|
|
|
|
|
|
|
type database struct {
|
|
|
|
username string
|
|
|
|
password string
|
|
|
|
address string
|
|
|
|
port string
|
|
|
|
database string
|
|
|
|
}
|