handler

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	IsApplicable(message.Message) (bool, error)
	Execute(*message.Message) (MessageResponse, error)
}

type MessageResponse

type MessageResponse struct {
	Delegates    []delegate.Delegate
	EmptyMessage string
}

type Options

type Options struct {
	EmptyMessage string
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.
handlers

Jump to

Keyboard shortcuts

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