users

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

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,
	transferer core.Transferer,
	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 added in v1.7.0

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, transferer core.Transferer) http.HandlerFunc

HandleUpdate returns an http.HandlerFunc that processes an http.Request to update a user account.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL