api

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package api implements functions for github aggregator rest api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(rw http.ResponseWriter, req *http.Request)

Auth authenticates user with provided Github API access token.

func Logout

func Logout(rw http.ResponseWriter, req *http.Request)

Logout logs out user from app.

func Orgs

func Orgs(rw http.ResponseWriter, req *http.Request)

Orgs returns response with current organizations info in json format.

func Profile

func Profile(rw http.ResponseWriter, req *http.Request)

Profile returns repsonse with current profile info in json format.

func Scopes

func Scopes(rw http.ResponseWriter, req *http.Request)

Scopes returns response with current scopes for provided token in json format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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