echo

package module
v0.0.0-...-92fecd5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2019 License: MIT Imports: 0 Imported by: 1

README

Echo GoDoc

Echo is a collection of simple echo servers used as a testing tool for service mangement solutions.

LICENSE

MIT.

Documentation

Overview

Package echo describes a simple echo server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reverse

func Reverse(input string) string

Reverse the input string.

Types

type Count

type Count struct {
	Value int64
}

Count represents the count response.

type Echo

type Echo interface {
	Say(what string) (string, error)
	Count() (int64, error)
}

Echo is a simple service used for testing conex it will connect to an Echo Container and does what an echo server does, say it back. You can also run any executable and get the result for more comperhensive testing.

type Message

type Message struct {
	Value string `json:"value"`
}

Message represents a message send for echo.

Directories

Path Synopsis
Package echo is a simple http json-http implemention of Echo service.
Package echo is a simple http json-http implemention of Echo service.
cmd/echo command

Jump to

Keyboard shortcuts

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