banmuteplugin

package
v0.0.0-...-ef9bcd6 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2018 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Matching string
	Mode     string
}

type Server

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

func NewServer

func NewServer(api plugin.API, config Config) (*Server, error)

func (*Server) HandleMessage

func (s *Server) HandleMessage(post *model.Post, intercept bool) (*model.Post, string)

func (*Server) ReloadConfig

func (s *Server) ReloadConfig(config Config)

Jump to

Keyboard shortcuts

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