httpserver

package
v0.0.0-...-e9f2943 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPServer

func NewHTTPServer(port string, downloader *gh.Downloader, storer Storer) (*http.Server, error)

Types

type Downloader

type Downloader interface {
	Download(ctx context.Context, repoOwner, repoName string, ref *string) (io.ReadCloser, string, error)
}

type Server

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

func (*Server) PostV1GithubComOwnerName

nolint:ireturn // Expected ireturn for openapi generation.

type Storer

type Storer interface {
	Store(ctx context.Context, data io.Reader, filename string) error
	GetLocation() string
}

Jump to

Keyboard shortcuts

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