metrics

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SENT_MESSAGES = "sent_messages"
	SEEN_MESSAGES = "seen_messages"
	CREATED_USERS = "created_users"
	INCREMENT     = 1
)

Variables

This section is empty.

Functions

func JSONHandler

func JSONHandler(c *gin.Context)

func MetricValueHandler

func MetricValueHandler(c *gin.Context)

func WebHandler

func WebHandler(c *gin.Context)

Types

type Kind

type Kind int
const (
	COUNTER Kind = iota
	DURATION
)

Jump to

Keyboard shortcuts

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