spammer

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "Spammer"

PluginName is the name of the spammer plugin.

Variables

This section is empty.

Functions

func Plugin

func Plugin() *node.Plugin

Plugin gets the plugin instance.

Types

type Request

type Request struct {
	Cmd string `json:"cmd"`
	MPM int    `json:"mpm"`
}

Request contains the parameters of a spammer request.

type Response

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

Response is the HTTP response of a spammer request.

Jump to

Keyboard shortcuts

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