session := stretchr.SessionForCompany("mycomp").WithProject("test").WithKeys(PUB,PRIV)
// get and instantly return 'people'
r := session.Get("people")
if r.Success {
// do something with r.Data
}
// use async version
session.Get("people", func(r *stretchr.Response){
if r.Success {
// do something with r.Data
}
})
E.g.