Documentation ¶
Index ¶
- type AboutPageController
- type ArtifactController
- func (c *ArtifactController) DownloadGzip(w http.ResponseWriter, r *http.Request)
- func (c *ArtifactController) DownloadSingleFile(w http.ResponseWriter, r *http.Request)
- func (c *ArtifactController) DownloadZip(w http.ResponseWriter, r *http.Request)
- func (c *ArtifactController) Get(w http.ResponseWriter, r *http.Request)
- type FrontPageController
- type RepoController
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 ¶
func (c *AboutPageController) Index(w http.ResponseWriter, r *http.Request)
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 ¶
func (c *ArtifactController) Get(w http.ResponseWriter, r *http.Request)
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 (c *FrontPageController) Index(w http.ResponseWriter, r *http.Request)
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 ¶
func (c *RepoController) Get(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.