services

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Room

type Room struct {
	component.Base
	// contains filtered or unexported fields
}

Room server

func NewRoom

func NewRoom(app pitaya.Pitaya) *Room

NewRoom ctor

func (*Room) SetCounter

func (r *Room) SetCounter(
	ctx context.Context,
	arg *messages.SetCounterArg,
) (*messages.Response, error)

SetCounter sets custom my_counter

func (*Room) SetGauge1

func (r *Room) SetGauge1(
	ctx context.Context,
	arg *messages.SetGaugeArg,
) (*messages.Response, error)

SetGauge1 sets custom my_gauge_1

func (*Room) SetGauge2

func (r *Room) SetGauge2(
	ctx context.Context,
	arg *messages.SetGaugeArg,
) (*messages.Response, error)

SetGauge2 sets custom my_gauge_2

func (*Room) SetSummary

func (r *Room) SetSummary(
	ctx context.Context,
	arg *messages.SetSummaryArg,
) (*messages.Response, error)

SetSummary sets custom my_summary

Jump to

Keyboard shortcuts

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