refactor: 重构项目结构
- 将server端相关依赖单独防止在server中
This commit is contained in:
7
interval/server/model/message.go
Normal file
7
interval/server/model/message.go
Normal file
@ -0,0 +1,7 @@
|
||||
package model
|
||||
|
||||
type Message struct {
|
||||
Topic Topic
|
||||
Content []byte
|
||||
Timestamp int64
|
||||
}
|
||||
Reference in New Issue
Block a user