echo

package
v0.0.0-...-e61e643 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package echo implements a Service which echoes back !commands.

Index

Constants

View Source
const ServiceType = "echo"

ServiceType of the Echo service

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	types.DefaultService
}

Service represents the Echo service. It has no Config fields.

func (*Service) Commands

func (e *Service) Commands(cli *gomatrix.Client) []types.Command

Commands supported:

!echo some message

Responds with a notice of "some message".

Jump to

Keyboard shortcuts

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