echo

package
v0.0.0-...-908cc04 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID   = "echo"
	Name = "Echo behaviour"
)

Variables

This section is empty.

Functions

func NewEcho

func NewEcho(opts ...EchoOptions) sergeant.Runnable

Types

type Echo

type Echo struct {
	// contains filtered or unexported fields
}

func (*Echo) ID

func (e *Echo) ID() string

func (*Echo) Name

func (e *Echo) Name() string

func (*Echo) Run

func (e *Echo) Run(ctx context.Context, logger *zap.Logger) error

type EchoOptions

type EchoOptions struct {
	Message string
}

Jump to

Keyboard shortcuts

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