cmds

package
v0.0.0-...-695ed52 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PingCommand

type PingCommand struct {
}

PingCommand is a struct to handle ping command.

func (*PingCommand) Execute

type TextCommander

type TextCommander interface {
	Execute(ctx contextx.Contextx, text string) ([]messaging_api.MessageInterface, error)
}

TextCommander is the interface for text command.

func NewCommands

func NewCommands() []TextCommander

NewCommands is a function to create a new commands.

Jump to

Keyboard shortcuts

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