Procházet zdrojové kódy

key value pair helper function

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

+ 4
- 0
chatSession.go Zobrazit soubor

@@ -140,6 +140,10 @@ func (ss *openIDSessionData) setKvPair(key, val string) {
ss.UpdateAt = int32(time.Now().Unix())
}

func (ss *openIDSessionData) getVal(key string) string {
return ss.KvPair[key]
}

//main entry point for processing each incoming message
//this stage has session date available
func (ss *openIDSessionData) incomingMsg(v InWechatMsg) {

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