echo

package
v0.0.0-...-f1068a2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2017 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