app

package
v0.0.0-...-fe9bcf1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App *fiber.App
View Source
var DB *badger.DB

Functions

func AuthenticateUser

func AuthenticateUser(c *fiber.Ctx) error

func CheckGHOauthToken

func CheckGHOauthToken(token string) (ok bool)

func DashboardSetup

func DashboardSetup()

func ExploreSetup

func ExploreSetup()

func GetAllAbandonedRepos

func GetAllAbandonedRepos() ([]int64, error)

func GetGithubClient

func GetGithubClient(ctx context.Context, token string) *github.Client

func GetOauthToken

func GetOauthToken(code string) (token string, err error)

func InstallSetup

func InstallSetup()

func Setup

func Setup()

func Start

func Start(port int)

func TransferRepo

func TransferRepo(dbrepo database.Repo, newOwnerClient *github.Client) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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