Documentation ¶
Index ¶
- type Redis
- func (rd *Redis) Connect(config *core.Config)
- func (rd *Redis) Delete(w http.ResponseWriter, r *http.Request)
- func (rd *Redis) Exists(w http.ResponseWriter, r *http.Request)
- func (rd *Redis) Read(w http.ResponseWriter, r *http.Request)
- func (rd *Redis) Register(handlers *core.Handlers)
- func (rd *Redis) Set(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
Redis :
func (*Redis) Delete ¶
func (rd *Redis) Delete(w http.ResponseWriter, r *http.Request)
Delete : delete the passed id
func (*Redis) Exists ¶
func (rd *Redis) Exists(w http.ResponseWriter, r *http.Request)
Exists : do an exists on the id passed in the url and return an http response code
func (*Redis) Read ¶
func (rd *Redis) Read(w http.ResponseWriter, r *http.Request)
Read : do a hget with a json array passed in the body on the id passed in the url an return a json array
Click to show internal directories.
Click to hide internal directories.