Selaa lähdekoodia

session and procedure states are separated

master
Patrick Peng Sun 9 vuotta sitten
vanhempi
commit
df903ebfa5
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +2
    -1
      sessionManager.go

+ 2
- 1
sessionManager.go Näytä tiedosto

openID string //who is this? openID string //who is this?
count int // number of message in the Queue, channel count int // number of message in the Queue, channel
jobs chan InWechatMsg 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 { type workDone struct {

Loading…
Peruuta
Tallenna