Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusHandler ¶
type PrometheusHandler struct {
GinGauge prometheus.Gauge
}
func NewPrometheusHandler ¶
func NewPrometheusHandler() *PrometheusHandler
func (*PrometheusHandler) HandleMetrics ¶
func (p *PrometheusHandler) HandleMetrics(c *gin.Context)
func (*PrometheusHandler) RPSMiddleware ¶
func (p *PrometheusHandler) RPSMiddleware(c *gin.Context)
type WeatherHandler ¶
type WeatherHandler struct {
// contains filtered or unexported fields
}
func NewWeatherHandler ¶
func NewWeatherHandler(wc *client.WeatherClient) *WeatherHandler
func (*WeatherHandler) HandleForecast ¶
func (h *WeatherHandler) HandleForecast(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.