package httpsession import "time" type Id string type Store interface { Get(id Id, key string) interface{} GetMultiple(id Id) map[string]interface{} Set(id Id, key string, value interface{}) SetMultiple(id Id, m map[string]interface{}) error Del(id Id, keys ...string) bool Clear(id Id) bool Add(id Id) Exist(id Id) bool SetMaxAge(maxAge time.Duration) Run() error UpdateByCustomField(findkey string, findvalue interface{}, setkey string, setvalue interface{}) bool }