annotate

package
v0.0.0-...-2379ac9 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitHubClient

func NewGitHubClient(client HTTPClient) *github.Client

NewGitHubClient builds a new GitHub client. region iface-consumer

func NewHTTPClient

func NewHTTPClient(Config) (*http.Client, error)

NewHTTPClient builds a new HTTP client. region constructor

Types

type Config

type Config struct{}

Config specifies the configuration of a client.

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

HTTPClient matches the http.Client interface. region interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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