globals

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseGithubHTTPClient = &http.Client{
	Transport: &http.Transport{
		DisableKeepAlives:   false,
		MaxConnsPerHost:     10,
		MaxIdleConnsPerHost: 5,
		MaxIdleConns:        20,
		IdleConnTimeout:     20 * time.Second,
	},
	Timeout: 30 * time.Second,
}

Functions

func GithubClient

func GithubClient(ctx context.Context) (*github.Client, error)

func GithubToken

func GithubToken(ctx context.Context) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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