1
This commit is contained in:
parent
c750ccb698
commit
09572a2fde
@ -11,12 +11,6 @@ type App interface {
|
||||
type Player interface {
|
||||
Lock()
|
||||
UnLock()
|
||||
|
||||
CaGetMailList(*gin.Context)
|
||||
CaMarkMail(*gin.Context)
|
||||
CaGetUnreadMailCnt(*gin.Context)
|
||||
CaGetAttachment(*gin.Context)
|
||||
CaDeleteMails(*gin.Context)
|
||||
}
|
||||
|
||||
type PlayerMgr interface{
|
||||
@ -24,5 +18,9 @@ type PlayerMgr interface{
|
||||
}
|
||||
|
||||
type MailMgr interface{
|
||||
|
||||
CaGetMailList(*gin.Context)
|
||||
CaMarkMail(*gin.Context)
|
||||
CaGetUnreadMailCnt(*gin.Context)
|
||||
CaGetAttachment(*gin.Context)
|
||||
CaDeleteMails(*gin.Context)
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
package controller
|
@ -21,12 +21,12 @@ type DeletedMail struct {
|
||||
|
||||
type player struct {
|
||||
lock sync.Mutex
|
||||
AccountId string
|
||||
SessionId string
|
||||
RegisterTime int32
|
||||
ReadMailHash map[int64]*ReadMail
|
||||
DeletedMailHash map[int64]*DeletedMail
|
||||
CacheExpiration time.Time
|
||||
accountId string
|
||||
sessionId string
|
||||
registerTime int32
|
||||
readMailHash map[int64]*ReadMail
|
||||
deletedMailHash map[int64]*DeletedMail
|
||||
cacheExpiration time.Time
|
||||
// 定时器
|
||||
dirtyTimer *f5.TimerWp
|
||||
attacher *f5.TimerAttacher
|
||||
@ -40,23 +40,3 @@ func (this *player) Lock() {
|
||||
func (this *player) UnLock() {
|
||||
this.lock.Unlock()
|
||||
}
|
||||
|
||||
func (this *player) CaGetMailList(*gin.Context) {
|
||||
|
||||
}
|
||||
|
||||
func (this *player) CaMarkMail(*gin.Context) {
|
||||
|
||||
}
|
||||
|
||||
func (this *player) CaGetUnreadMailCnt(*gin.Context) {
|
||||
|
||||
}
|
||||
|
||||
func (this *player) CaGetAttachment(*gin.Context) {
|
||||
|
||||
}
|
||||
|
||||
func (this *player) CaDeleteMails(*gin.Context) {
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user