Documentation
¶
Index ¶
- func HandleCreate(users core.UserStore, service core.UserService, sender core.WebhookSender) http.HandlerFunc
- func HandleDelete(users core.UserStore, sender core.WebhookSender) http.HandlerFunc
- func HandleFind(users core.UserStore) http.HandlerFunc
- func HandleList(users core.UserStore) http.HandlerFunc
- func HandleRepoList(users core.UserStore, repos core.RepositoryStore) http.HandlerFunc
- func HandleUpdate(users core.UserStore) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCreate ¶
func HandleCreate(users core.UserStore, service core.UserService, sender core.WebhookSender) http.HandlerFunc
HandleCreate returns an http.HandlerFunc that processes an http.Request to create the named user account in the system.
func HandleDelete ¶
func HandleDelete( users core.UserStore, sender core.WebhookSender, ) http.HandlerFunc
HandleDelete returns an http.HandlerFunc that processes an http.Request to delete the named user account from the system.
func HandleFind ¶
func HandleFind(users core.UserStore) http.HandlerFunc
HandleFind returns an http.HandlerFunc that writes json-encoded user account information to the the response body.
func HandleList ¶
func HandleList(users core.UserStore) http.HandlerFunc
HandleList returns an http.HandlerFunc that writes a json-encoded list of all registered system users to the response body.
func HandleRepoList ¶
func HandleRepoList(users core.UserStore, repos core.RepositoryStore) http.HandlerFunc
HandleRepoList returns an http.HandlerFunc that writes a json-encoded list of all user repositories to the response body.
func HandleUpdate ¶
func HandleUpdate(users core.UserStore) http.HandlerFunc
HandleUpdate returns an http.HandlerFunc that processes an http.Request to update a user account.
Types ¶
This section is empty.