Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountHandler

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

    CountHandler is the websocket handler

    func (*CountHandler) OnDisconnect

    func (h *CountHandler) OnDisconnect()

      OnDisconnect is the websocket disconnection handler

      func (*CountHandler) OnMessage

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

        OnMessage is the websocket message handler

        func (*CountHandler) OnPing

        func (h *CountHandler) OnPing()

          OnPing is the websocket ping handler

          func (*CountHandler) OnPong

          func (h *CountHandler) OnPong()

            OnPong is the websocket pong handler

            type StatusHandler

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

              StatusHandler is the websocket handler

              func (*StatusHandler) OnDisconnect

              func (h *StatusHandler) OnDisconnect()

                OnDisconnect is the websocket disconnection handler

                func (*StatusHandler) OnMessage

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

                  OnMessage is the websocket message handler

                  func (*StatusHandler) OnPing

                  func (h *StatusHandler) OnPing()

                    OnPing is the websocket ping handler

                    func (*StatusHandler) OnPong

                    func (h *StatusHandler) OnPong()

                      OnPong is the websocket pong handler