Documentation ¶ Overview ¶ Package activities provides the JSON handlers to get gonawin activities. Index ¶ func Index(w http.ResponseWriter, r *http.Request, u *mdl.User) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Index ¶ func Index(w http.ResponseWriter, r *http.Request, u *mdl.User) error Index activity handler, use it to get the activities of a user. You can pass a 'count' and a 'page' param to the http.Request to filter the activities that you want. default values are 20 and 1 respectively. Types ¶ This section is empty. Source Files ¶ View all Source files activities.go Click to show internal directories. Click to hide internal directories.