spammer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0, BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PLUGIN = node.NewPlugin("Spammer", node.Disabled, configure)

Functions

func WebApiHandler

func WebApiHandler(c echo.Context) error

Types

type Request

type Request struct {
	Cmd string `json:"cmd"`
	Tps uint64 `json:"tps"`
}

type Response

type Response struct {
	Message string `json:"message"`
	Error   string `json:"error"`
}

Jump to

Keyboard shortcuts

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