Documentation ¶
Index ¶
- Constants
- Variables
- func NewCommand() *cli.Command
- func Run(ctx *cli.Context) error
- func SelectURL() string
- type Handler
- func (c *Handler) OnClose(socket *gws.Conn, code uint16, reason []byte)
- func (c *Handler) OnError(socket *gws.Conn, err error)
- func (c *Handler) OnMessage(socket *gws.Conn, message *gws.Message)
- func (c *Handler) OnOpen(socket *gws.Conn)
- func (c *Handler) OnPing(socket *gws.Conn, payload []byte)
- func (c *Handler) OnPong(socket *gws.Conn, payload []byte)
- func (c *Handler) Report(rate int) string
- func (c *Handler) ShowProgress()
Constants ¶
View Source
const M = 10000
Variables ¶
View Source
var (
N int
)
Functions ¶
func NewCommand ¶
func NewCommand() *cli.Command
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) ShowProgress ¶
func (c *Handler) ShowProgress()
Click to show internal directories.
Click to hide internal directories.