stats

package
v0.0.0-...-cab28d8 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

Handlers represents a group of http handlers in charge of handling stats operations.

func NewHandlers

func NewHandlers(statsManager hub.StatsManager) *Handlers

NewHandlers creates a new Handlers instance.

func (*Handlers) Get

func (h *Handlers) Get(w http.ResponseWriter, r *http.Request)

Get is an http handler that returns some stats.

Jump to

Keyboard shortcuts

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