ctdo.de/structs.go

33 lines
404 B
Go
Raw Normal View History

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
}
type topic struct {
date string
days int
}
type database struct {
username string
password string
address string
port string
database string
}