Documentation ¶
Index ¶
- func DiscoveryHandler() http.Handler
- func GitHubEventHandler(entClient *ent.Client, webhookSecret []byte, baseURL *url.URL, ...) http.Handler
- func ModulesDownloadVersionHandler(entClient *ent.Client, githubURL *url.URL, privateKey []byte) http.Handler
- func ModulesGetVersionHandler(entClient *ent.Client) http.Handler
- func ModulesListHandler(entClient *ent.Client) http.Handler
- func ModulesListVersionsHandler(entClient *ent.Client) http.Handler
- func NotFoundHandler() http.Handler
- func NotImplementedHandler() http.Handler
- func Ping(w http.ResponseWriter, r *http.Request)
- func PingHandler() http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoveryHandler ¶
DiscoveryHandler returns the discovery JSON
func GitHubEventHandler ¶
func GitHubEventHandler(entClient *ent.Client, webhookSecret []byte, baseURL *url.URL, privateKey []byte) http.Handler
GitHubEventHandler handles the github events
func ModulesDownloadVersionHandler ¶
func ModulesDownloadVersionHandler(entClient *ent.Client, githubURL *url.URL, privateKey []byte) http.Handler
ModulesDownloadVersionHandler returns link to download the module
func ModulesGetVersionHandler ¶
ModulesGetVersionHandler returns a module versions
func ModulesListHandler ¶
ModulesListHandler returns a list of the modules
func ModulesListVersionsHandler ¶
ModulesListVersionsHandler returns a list of the module versions
func NotImplementedHandler ¶
NotImplementedHandler handles not implemented
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.