app

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideOauthClient

func ProvideOauthClient(ts oauth2.TokenSource) *http.Client

func ProvideOauthTokenSource

func ProvideOauthTokenSource(githubToken GithubToken) oauth2.TokenSource

Types

type App

type App struct {
	ReviewProcess review.ProcessFacade
}

func InitApp

func InitApp(config Config) *App

type Config

type Config struct {
	GithubToken GithubToken
}

type GithubToken

type GithubToken string

func ProvideGithubToken

func ProvideGithubToken(config Config) GithubToken

Jump to

Keyboard shortcuts

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