controllers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AboutPageController

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

func NewAboutPageController

func NewAboutPageController(log ports.Logger, render infra.Render) *AboutPageController

func (*AboutPageController) Index

type ArtifactController

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

func NewArtifactController

func NewArtifactController(log ports.Logger, render infra.Render, artifactRepository domain.ArtifactRepository, aritfactStorage ports.ArtifactStorage) *ArtifactController

func (*ArtifactController) DownloadGzip

func (c *ArtifactController) DownloadGzip(w http.ResponseWriter, r *http.Request)

func (*ArtifactController) DownloadSingleFile

func (c *ArtifactController) DownloadSingleFile(w http.ResponseWriter, r *http.Request)

func (*ArtifactController) DownloadZip

func (c *ArtifactController) DownloadZip(w http.ResponseWriter, r *http.Request)

func (*ArtifactController) Get

type FrontPageController

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

func NewFrontPageController

func NewFrontPageController(log ports.Logger, render infra.Render, repos domain.Repositories) *FrontPageController

func (*FrontPageController) Index

func (*FrontPageController) NotFound

func (c *FrontPageController) NotFound(w http.ResponseWriter, r *http.Request)

NotFound is a custom 404 handler

type RepoController

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

func NewRepoController

func NewRepoController(log ports.Logger, render infra.Render, repoRepository domain.RepoRepository) *RepoController

func (*RepoController) Get

Jump to

Keyboard shortcuts

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