messages

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Code int
}

Response is the basic response on handlers

func OKResponse

func OKResponse() *Response

OKResponse returns a response with code 200

type SetCounterArg

type SetCounterArg struct {
	Value float64
	Tag1  string
	Tag2  string
}

SetCounterArg is the argument on room.setcounter handler

type SetGaugeArg

type SetGaugeArg struct {
	Value float64
	Tag   string
}

SetGaugeArg is the argument on room.setgauge* handler

type SetSummaryArg

type SetSummaryArg struct {
	Value float64
	Tag   string
}

SetSummaryArg is the argument on room.setsummary handler

Jump to

Keyboard shortcuts

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