user

package
v0.0.0-...-e99cc0b Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFind

func HandleFind() http.HandlerFunc

HandleFind returns an http.HandlerFunc that writes json-encoded account information to the http response body.

func HandleRecent

func HandleRecent(repos core.RepositoryStore) http.HandlerFunc

HandleRecent returns an http.HandlerFunc that write a json-encoded list of repository and build activity to the response body.

func HandleRepos

func HandleRepos(repos core.RepositoryStore) http.HandlerFunc

HandleRepos returns an http.HandlerFunc that write a json-encoded list of repositories to the response body.

func HandleSync

func HandleSync(syncer core.Syncer, repos core.RepositoryStore) http.HandlerFunc

HandleSync returns an http.HandlerFunc synchronizes and then write a json-encoded list of repositories to the response body.

func HandleToken

func HandleToken(users core.UserStore) http.HandlerFunc

HandleToken returns an http.HandlerFunc that writes json-encoded account information to the http response body with the user token.

func HandleUpdate

func HandleUpdate(users core.UserStore) http.HandlerFunc

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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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