broadcast

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const M = 10000

Variables

View Source
var (
	N int
)

Functions

func NewCommand

func NewCommand() *cli.Command

func Run

func Run(ctx *cli.Context) error

func SelectURL

func SelectURL() string

Types

type Handler

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

func (*Handler) OnClose

func (c *Handler) OnClose(socket *gws.Conn, err error)

func (*Handler) OnMessage

func (c *Handler) OnMessage(socket *gws.Conn, message *gws.Message)

func (*Handler) OnOpen

func (c *Handler) OnOpen(socket *gws.Conn)

func (*Handler) OnPing

func (c *Handler) OnPing(socket *gws.Conn, payload []byte)

func (*Handler) OnPong

func (c *Handler) OnPong(socket *gws.Conn, payload []byte)

func (*Handler) Report

func (c *Handler) Report(rate int) string

func (*Handler) ShowProgress

func (c *Handler) ShowProgress()

Jump to

Keyboard shortcuts

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