Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FSHandler ¶ added in v16.12.0
type FSHandler struct {
// contains filtered or unexported fields
}
The FSHandler type provides handlers for manipulating a filesystem
func NewFS ¶ added in v16.12.0
NewFS return a new FSHandler type. You have to provide a filesystem to act on.
func (*FSHandler) DeleteFile ¶ added in v16.12.0
type PingHandler ¶
type PingHandler struct{}
The PingHandler type provides a handler for a ping requesr
type ProfilingHandler ¶
type ProfilingHandler struct{}
The ProfilingHandler type provides a function to register the porfiling endpoints
func (*ProfilingHandler) Register ¶
func (p *ProfilingHandler) Register(r *echo.Group)
Register registers the different golang profiling endpoinds with a router @Summary Retrieve profiling data from the application @Description Retrieve profiling data from the application @ID profiling @Produce text/html @Success 200 {string} string @Failure 404 {string} string @Router /profiling [get]
type PrometheusHandler ¶
type PrometheusHandler struct {
// contains filtered or unexported fields
}
The PrometheusHandler type provides a handler function for reading the prometheus metrics
func NewPrometheus ¶
func NewPrometheus(handler http.Handler) *PrometheusHandler
NewPrometheus returns a new Prometheus type. You have to provide a HTTP.Handler