commands

package
v0.0.0-...-2232ac3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoHandler

type EchoHandler struct {
	UseCase echo.UseCase
}

EchoHandler is a struct that implements CommandHandler interface

func (*EchoHandler) Handle

func (eh *EchoHandler) Handle(ctx *cmdr.Context)

Handle is a method that implements CommandHandler's Handle method

type EchoPresenter

type EchoPresenter struct{}

EchoPresenter is a struct that implements echo.Presenter interface

func (*EchoPresenter) Echo

func (p *EchoPresenter) Echo(contents string)

Echo is a method that implements echo.Presenter's Echo method

Jump to

Keyboard shortcuts

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