service

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 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 CountHandler added in v0.11.0

type CountHandler struct {
	at.ContextAware
	// contains filtered or unexported fields
}

CountHandler is the websocket handler

func (*CountHandler) OnDisconnect added in v0.11.0

func (h *CountHandler) OnDisconnect()

OnDisconnect is the websocket disconnection handler

func (*CountHandler) OnMessage added in v0.11.0

func (h *CountHandler) OnMessage(data []byte)

OnMessage is the websocket message handler

func (*CountHandler) OnPing added in v1.2.0

func (h *CountHandler) OnPing()

OnPing is the websocket ping handler

func (*CountHandler) OnPong added in v1.2.0

func (h *CountHandler) OnPong()

OnPong is the websocket pong handler

type StatusHandler added in v0.11.0

type StatusHandler struct {
	at.ContextAware
	// contains filtered or unexported fields
}

StatusHandler is the websocket handler

func (*StatusHandler) OnDisconnect added in v0.11.0

func (h *StatusHandler) OnDisconnect()

OnDisconnect is the websocket disconnection handler

func (*StatusHandler) OnMessage added in v0.11.0

func (h *StatusHandler) OnMessage(data []byte)

OnMessage is the websocket message handler

func (*StatusHandler) OnPing added in v1.2.0

func (h *StatusHandler) OnPing()

OnPing is the websocket ping handler

func (*StatusHandler) OnPong added in v1.2.0

func (h *StatusHandler) OnPong()

OnPong is the websocket pong handler

Jump to

Keyboard shortcuts

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