Help us shape the future of Go! Take the 2026 Go Developer Survey

collabs

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDelete

func HandleDelete(
	users core.UserStore,
	repos core.RepositoryStore,
	members core.PermStore,
) http.HandlerFunc

HandleDelete returns an http.HandlerFunc that processes a request to delete account membership to a repository. This should only be used if the datastore is out-of-sync with github.

func HandleFind

func HandleFind(
	users core.UserStore,
	repos core.RepositoryStore,
	members core.PermStore,
) http.HandlerFunc

HandleFind returns an http.HandlerFunc that writes a json-encoded repository collaborator details to the response body.

func HandleList

func HandleList(
	repos core.RepositoryStore,
	members core.PermStore,
) http.HandlerFunc

HandleList returns an http.HandlerFunc that write a json-encoded list of repository collaborators to the response body.

Types

This section is empty.

Jump to

Keyboard shortcuts

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