Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIHandlers ¶
type APIHandlers struct {
// contains filtered or unexported fields
}
APIHandlers sets up the handlers for API endpoints
func NewAPIHandlers ¶
NewAPIHandlers creates a new APIHandlers
func (APIHandlers) SetupRouter ¶
func (a APIHandlers) SetupRouter(router *mux.Router)
SetupRouter registers API routes with the provided router
type HealthCheckHandler ¶
type HealthCheckHandler struct{}
HealthCheckHandler implements http.ResponderHandler for the health check endpoint
func NewHealthCheckHandler ¶
func NewHealthCheckHandler() HealthCheckHandler
NewHealthCheckHandler creates a new HealthCheckHandler
type IssuesHandler ¶
type IssuesHandler struct {
// contains filtered or unexported fields
}
IssuesHandler implements resp.ResponderHandler by returning a list of GitHub issues for a repository
func NewIssuesHandler ¶
NewIssuesHandler creates a new IssuesHandler
type IssuesRequest ¶
type IssuesRequest struct { // RepositoryOwner is the repository's owner RepositoryOwner string `json:"repository_owner" validate:"nonzero"` // RepositoryName is the repository's name RepositoryName string `json:"repository_name" validate:"nonzero"` }
IssuesRequest is the format of a issues request
type ReposHandler ¶
type ReposHandler struct {
// contains filtered or unexported fields
}
ReposHandler implements resp.ResponderHandler by returning a list of GitHub repository names for a user
func NewReposHandler ¶
NewReposHandler creates a new ReposHandler