downloader

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitbucket

type Bitbucket struct {
	// contains filtered or unexported fields
}

func NewBitbucket

func NewBitbucket(httpClient httpClient) *Bitbucket

func (*Bitbucket) GetFile

func (b *Bitbucket) GetFile(f *domain.File) ([]byte, error)

type Github

type Github struct {
	// contains filtered or unexported fields
}

func NewGithub

func NewGithub(httpClient httpClient) *Github

func (*Github) GetFile

func (g *Github) GetFile(f *domain.File) ([]byte, error)

type Gitlab

type Gitlab struct {
	// contains filtered or unexported fields
}

func NewGitlab

func NewGitlab(httpClient httpClient) *Gitlab

func (*Gitlab) GetFile

func (g *Gitlab) GetFile(f *domain.File) ([]byte, error)

GetFile downloads the file from the Gitlab repository

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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