feat:优化项目结构
This commit is contained in:
9
app/logic/isession.go
Normal file
9
app/logic/isession.go
Normal file
@ -0,0 +1,9 @@
|
||||
package logic
|
||||
|
||||
type ISession interface {
|
||||
SetToken(key string)
|
||||
GetToken() string
|
||||
|
||||
MarshalBinary() ([]byte, error)
|
||||
UnmarshalBinary(data []byte) error
|
||||
}
|
Reference in New Issue
Block a user