Documentation ¶
Index ¶
- func HandleFind() http.HandlerFunc
- func HandleRecent(repos core.RepositoryStore) http.HandlerFunc
- func HandleRepos(repos core.RepositoryStore) http.HandlerFunc
- func HandleSync(syncer core.Syncer, repos core.RepositoryStore) http.HandlerFunc
- func HandleToken(users core.UserStore) http.HandlerFunc
- func HandleUpdate(users core.UserStore) http.HandlerFunc
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.