dispatch/storage/storage.schema

43 lines
596 B
Plaintext
Raw Normal View History

2016-01-22 17:30:47 +00:00
struct User {
2018-10-15 06:56:17 +00:00
ID uint64
Username string
clientSettings *ClientSettings
lastIP []byte
}
struct ClientSettings {
ColoredNicks bool
2016-01-22 17:30:47 +00:00
}
2020-06-15 08:58:51 +00:00
struct Network {
2016-01-22 17:30:47 +00:00
Name string
Host string
Port string
TLS bool
2020-05-23 06:05:37 +00:00
ServerPassword string
2016-01-22 17:30:47 +00:00
Nick string
Username string
Realname string
2020-05-23 06:05:37 +00:00
Account string
Password string
2016-01-22 17:30:47 +00:00
}
struct Channel {
2020-06-15 08:58:51 +00:00
Network string
2016-01-22 17:30:47 +00:00
Name string
}
struct Message {
2017-04-20 03:32:22 +00:00
ID string
2016-01-22 17:30:47 +00:00
From string
Content string
Time int64
Events []Event
}
struct Event {
Type string
Params []string
Time int64
2016-01-22 17:30:47 +00:00
}