Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileItemInfo ¶
type History ¶
type History struct { MsgId string `json:"msg_id"` //IsBot bool `json:"is_bot"` SType int `json:"s_type"` // 发布者类型 1用户 2机器人 3模拟用户 MType string `json:"m_type"` Text string `json:"text"` User string `json:"user"` Team string `json:"team"` Ts string `json:"ts"` ThreadTs string `json:"thread_ts"` CreateTs int64 `json:"create_ts"` // 创建时间戳 EditTs int64 `json:"edit_ts"` // 编辑时间戳 ReplyCount int `json:"reply_count"` // 回复项数量 Reactions []string `json:"reactions"` Files []*FileItemInfo `json:"files"` IsReply bool `json:"is_reply"` // 是否为回复项 LatestReply string `json:"latest_reply"` // 最新回复时间,为空则没有回复 }
type Mysql ¶
type Mysql struct { Username string `koanf:"username"` Password string `koanf:"password"` Path string `koanf:"path"` // 数据库地址:端口号 Dbname string `koanf:"db_name"` // 数据库名称 Config string `koanf:"config"` // 数据库连接时的其他配置 MaxIdleConn int `koanf:"max_idle_conn"` // 最大空闲连接数 MaxOpenConn int `koanf:"max_open_conn"` // 最大并发连接数 }
Click to show internal directories.
Click to hide internal directories.