feat:完善信息,增加socket

This commit is contained in:
henry
2022-01-27 14:50:52 +08:00
parent 0368be6f11
commit 4ae37b9b4d
30 changed files with 325 additions and 92 deletions

5
app/logic/inotice.go Normal file
View File

@ -0,0 +1,5 @@
package logic
type INotice interface {
Prefix() string
}

View File

@ -4,6 +4,9 @@ type ISession interface {
SetToken(key string)
GetToken() string
GetUID() uint64
GetStringUID() string
MarshalBinary() ([]byte, error)
UnmarshalBinary(data []byte) error
}