Explorar el Código

key value pair helper function

master
Patrick Peng Sun hace 8 años
padre
commit
e56cbb8f09
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. +4
    -0
      chatSession.go

+ 4
- 0
chatSession.go Ver fichero

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

Cargando…
Cancelar
Guardar