29 lines
368 B
Plaintext
29 lines
368 B
Plaintext
|
struct User {
|
||
|
ID uint64
|
||
|
Username string
|
||
|
}
|
||
|
|
||
|
struct Server {
|
||
|
Name string
|
||
|
Host string
|
||
|
Port string
|
||
|
TLS bool
|
||
|
Password string
|
||
|
Nick string
|
||
|
Username string
|
||
|
Realname string
|
||
|
}
|
||
|
|
||
|
struct Channel {
|
||
|
Server string
|
||
|
Name string
|
||
|
Topic string
|
||
|
}
|
||
|
|
||
|
struct Message {
|
||
|
ID uint64
|
||
|
From string
|
||
|
Content string
|
||
|
Time int64
|
||
|
}
|