api

package
v0.0.0-...-c6e58ef Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package api provides api handlers for the Lambda

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

Handler the API Handler.

func NewHandler

func NewHandler() *Handler

NewHandler creates a new API Handler.

func (*Handler) HelloWorld

func (h *Handler) HelloWorld(c echo.Context) error

HelloWorld handler for Hello World request.

func (*Handler) YourName

func (h *Handler) YourName(c echo.Context) error

YourName handlers for your name request.

type YourNameRequest

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

YourNameRequest request for the YourName handler.

Jump to

Keyboard shortcuts

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