Documentation ¶
Index ¶
- func HandleCreate(teams core.TeamStore, users core.UserStore, permissions core.PermissionStore) http.HandlerFunc
- func HandleFind(teams core.TeamStore) http.HandlerFunc
- func HandleList(teams core.TeamStore) http.HandlerFunc
- func HandleUpdate(teams core.TeamStore, users core.UserStore, permissions core.PermissionStore) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCreate ¶
func HandleCreate(teams core.TeamStore, users core.UserStore, permissions core.PermissionStore) http.HandlerFunc
HandleCreate returns an http.HandlerFunc that writes JSON encoded result about creating team to the http response body.
func HandleFind ¶
func HandleFind(teams core.TeamStore) http.HandlerFunc
HandleFind returns an http.HandlerFunc that writes JSON encoded team result to the http response body.
func HandleList ¶
func HandleList(teams core.TeamStore) http.HandlerFunc
HandleList returns an http.HandlerFunc that writes JSON encoded teams result to the http response body.
func HandleUpdate ¶
func HandleUpdate(teams core.TeamStore, users core.UserStore, permissions core.PermissionStore) http.HandlerFunc
HandleUpdate returns an http.HandlerFunc that writes JSON encoded result about updating team to the http response body.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.