Procházet zdrojové kódy

session and procedure states are separated

master
Patrick Peng Sun před 8 roky
rodič
revize
df903ebfa5
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      sessionManager.go

+ 2
- 1
sessionManager.go Zobrazit soubor

@@ -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 {

Načítá se…
Zrušit
Uložit