top

gocalm is a RESTful service framework carefully designed to work with net/http and goroute but it is not tightly coupled to goroute. It is encouraged to store necessary data in self-defined context struct and keep the interface clean. Check the typical usage in calm_test.go .

Introduce kvpairs

kvpairs is a map[string]string as an argument to communicate with Model to specify the data to retrieve/modify. gocalm will also automatically parse query values in URL to put into kvpairs. It will overwrite existing values, so it's best not to use duplicated parameter names.

Imports 3 package(s)

  1. github.com/golang/glog
  2. github.com/evanphx/json-patch
  3. github.com/bradfitz/gomemcache/memcache

Test imports 1 package(s)

  1. github.com/4freewifi/goroute