metrics

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

func New

func New() *Metrics

func (*Metrics) LogCommandSend

func (this *Metrics) LogCommandSend(userId string, deviceId string, serviceId string, functionId string)

func (*Metrics) LogGetLastEventValue

func (this *Metrics) LogGetLastEventValue(userId string, deviceId string, serviceId string, functionId string)

func (*Metrics) LogRequest added in v1.0.12

func (this *Metrics) LogRequest(userId string, endpoint string)

func (*Metrics) ServeHTTP

func (this *Metrics) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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