controller

package
v0.0.0-...-c3684ad Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Health

func Health(w http.ResponseWriter, r *http.Request)

Types

type BlogController

type BlogController interface {
	GetBlogsByProjectId(w http.ResponseWriter, req *http.Request)
	GetBlog(w http.ResponseWriter, req *http.Request)
	CreateBlog(w http.ResponseWriter, req *http.Request)
	UpdateBlog(w http.ResponseWriter, req *http.Request)
	DeleteBlog(w http.ResponseWriter, req *http.Request)
}

func BuildBlogController

func BuildBlogController(blogService service.BlogService) BlogController

type DiagramController

type DiagramController interface {
	GetDiagramsByProjectId(w http.ResponseWriter, req *http.Request)
	GetDiagram(w http.ResponseWriter, req *http.Request)
	CreateDiagram(w http.ResponseWriter, req *http.Request)
	UpdateDiagram(w http.ResponseWriter, req *http.Request)
	DeleteDiagram(w http.ResponseWriter, req *http.Request)
}

func BuildDiagramController

func BuildDiagramController(diagramService service.DiagramService) DiagramController

type GitRepoController

type GitRepoController interface {
	GetGitReposByProjectId(w http.ResponseWriter, req *http.Request)
	GetGitRepo(w http.ResponseWriter, req *http.Request)
	CreateGitRepo(w http.ResponseWriter, req *http.Request)
	UpdateGitRepo(w http.ResponseWriter, req *http.Request)
	DeleteGitRepo(w http.ResponseWriter, req *http.Request)
}

func BuildGitRepoController

func BuildGitRepoController(gitRepoService service.GitRepoService) GitRepoController

type NoteController

type NoteController interface {
	GetNotesByProjectId(w http.ResponseWriter, req *http.Request)
	GetNote(w http.ResponseWriter, req *http.Request)
	CreateNote(w http.ResponseWriter, req *http.Request)
	UpdateNote(w http.ResponseWriter, req *http.Request)
	DeleteNote(w http.ResponseWriter, req *http.Request)
}

func BuildNoteController

func BuildNoteController(noteService service.NoteService) NoteController

type ProjectBuildController

type ProjectBuildController interface {
	GetBuildsForProject(w http.ResponseWriter, req *http.Request)
	CreateBuildMetaData(w http.ResponseWriter, req *http.Request)
	UpdateBuildMetaData(w http.ResponseWriter, req *http.Request)
	DeleteBuildMetaData(w http.ResponseWriter, req *http.Request)
	GetBuildMetaData(w http.ResponseWriter, req *http.Request)
	GetBuildMetaDatasByProjectId(w http.ResponseWriter, req *http.Request)
}

func BuildProjectBuildController

func BuildProjectBuildController(projectBuildService service.ProjectBuildService) ProjectBuildController

type ProjectController

type ProjectController interface {
	GetAllProjectsMetaData(w http.ResponseWriter, req *http.Request)
	GetProjectMetaDataById(w http.ResponseWriter, req *http.Request)
	CreateProject(w http.ResponseWriter, req *http.Request)
	UpdateProject(w http.ResponseWriter, req *http.Request)
	DeleteProject(w http.ResponseWriter, req *http.Request)
}

func BuildProjectController

func BuildProjectController(projectService service.ProjectService) ProjectController

type ServiceInfoController

type ServiceInfoController interface {
	GetServicesInfoByProjectId(w http.ResponseWriter, req *http.Request)
	GetServiceInfo(w http.ResponseWriter, req *http.Request)
	CreateServiceInfo(w http.ResponseWriter, req *http.Request)
	UpdateServiceInfo(w http.ResponseWriter, req *http.Request)
	DeleteServiceInfo(w http.ResponseWriter, req *http.Request)
}

func BuildServiceInfoController

func BuildServiceInfoController(serviceInfoService service.ServiceInfoService) ServiceInfoController

type VideoController

type VideoController interface {
	GetVideosByProjectId(w http.ResponseWriter, req *http.Request)
	GetVideo(w http.ResponseWriter, req *http.Request)
	CreateVideo(w http.ResponseWriter, req *http.Request)
	UpdateVideo(w http.ResponseWriter, req *http.Request)
	DeleteVideo(w http.ResponseWriter, req *http.Request)
}

func BuildVideoController

func BuildVideoController(videoService service.VideoService) VideoController

Jump to

Keyboard shortcuts

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