downloader

package
v0.0.0-...-817f0cc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionConfiguration

type ActionConfiguration struct {
	Name          string
	Configuration []byte
}

type Downloader

type Downloader struct {
	Client        *http.Client
	GithubApiRoot string
	CacheDir      string
}

func NewDownloader

func NewDownloader() *Downloader

func (Downloader) DownloadConfigurations

func (d Downloader) DownloadConfigurations(actionName string, personalAccessToken string) (<-chan ActionConfiguration, <-chan error)

type RefResponse

type RefResponse struct {
	DownloadUrl string `json:"download_url"`
}

type SearchItem

type SearchItem struct {
	Url        string `json:"url"`
	Repository struct {
		FullName string `json:"full_name"`
	}
}

type SearchResponse

type SearchResponse struct {
	Items []SearchItem `json:"items"`
}

Jump to

Keyboard shortcuts

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