feat:完善信息,增加socket
This commit is contained in:
5
app/logic/inotice.go
Normal file
5
app/logic/inotice.go
Normal file
@ -0,0 +1,5 @@
|
||||
package logic
|
||||
|
||||
type INotice interface {
|
||||
Prefix() string
|
||||
}
|
@ -4,6 +4,9 @@ type ISession interface {
|
||||
SetToken(key string)
|
||||
GetToken() string
|
||||
|
||||
GetUID() uint64
|
||||
GetStringUID() string
|
||||
|
||||
MarshalBinary() ([]byte, error)
|
||||
UnmarshalBinary(data []byte) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user