internalHandlers

package
v0.0.0-...-a1c7680 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReposHandler

func GetReposHandler(w http.ResponseWriter, r *http.Request, _ map[string]string) error

GetReposHandler: is a handler for repos. It makes the call of github API "https://docs.github.com/en/rest/search/search?apiVersion=2022-11-28#search-repositories" in order to get latest repositories.

func GetStatsHandler

func GetStatsHandler(w http.ResponseWriter, r *http.Request, _ map[string]string) error

GetStatsHandler: is a handler for stats. It makes the call of /Repos and then make some stats on it.

func PongHandler

func PongHandler(w http.ResponseWriter, r *http.Request, _ map[string]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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