connect

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFileHint

func GetConfigFileHint() string

We are not exposing the actual path, but just hint of where the connected app credentials may be stored so that UI packages can be transparent about it

func GetGithubClient

func GetGithubClient() (*github.Client, error)

func GetGithubOAuth2ClientId

func GetGithubOAuth2ClientId() string

func PersistGithubAccessToken

func PersistGithubAccessToken(token string) error

Types

type Config

type Config struct {
	GithubAccessToken string `yaml:"github_access_token"`
}

type ConfigUpdaterFn

type ConfigUpdaterFn func(*Config)

Jump to

Keyboard shortcuts

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