소스 검색

session and procedure states are separated

master
Patrick Peng Sun 8 년 전
부모
커밋
df903ebfa5
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      sessionManager.go

+ 2
- 1
sessionManager.go 파일 보기

@@ -11,7 +11,8 @@ type openIDSession struct {
openID string //who is this?
count int // number of message in the Queue, channel
jobs chan InWechatMsg
data openIDSessionData //session data, that needs to be saved to disk
data openIDSessionData //session data, that needs to be saved to disk
states map[string]chatState //map from procedure to its current states
}

type workDone struct {

Loading…
취소
저장