echo

package module
v0.0.0-...-fe4b346 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This is the echo module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoRequest

type EchoRequest struct {
	Name string `json:"name"`
}

An echo request.

type EchoResponse

type EchoResponse struct {
	Message string `json:"message"`
}

func Echo

func Echo(ctx context.Context, req EchoRequest) (EchoResponse, error)

Echo returns a greeting with the current time.

Jump to

Keyboard shortcuts

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