start irc module
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
// LineMessageLog -
|
||||
type LineMessageLog struct {
|
||||
ID string `db:"id" cc:"id"`
|
||||
Group string `db:"group" cc:"group"`
|
||||
User string `db:"user" cc:"user"`
|
||||
Message string `db:"message" cc:"message"`
|
||||
Ctime time.Time `db:"ctime" cc:"ctime"`
|
||||
Mtime time.Time `db:"mtime" cc:"mtime"`
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
// LineUser -
|
||||
type LineUser struct {
|
||||
ID string `db:"id" cc:"id"`
|
||||
Name string `db:"name" cc:"name"`
|
||||
Ctime time.Time `db:"ctime" cc:"ctime"`
|
||||
Mtime time.Time `db:"mtime" cc:"mtime"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
// YoutubeChannel -
|
||||
type YoutubeChannel struct {
|
||||
ID string `db:"id" cc:"id"`
|
||||
Name string `db:"name" cc:"name"`
|
||||
LastVideo string `db:"lastvideo" cc:"lastvideo"`
|
||||
Expire int32 `db:"expire" cc:"expire"`
|
||||
Ctime time.Time `db:"ctime" cc:"ctime"`
|
||||
Mtime time.Time `db:"mtime" cc:"mtime"`
|
||||
}
|
||||
Reference in New Issue
Block a user