api

package
v0.0.0-...-c8c7c80 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FooBarHandler

func FooBarHandler(ctx echo.Context) error

FooBarHandler handles incoming foobar requests

Types

type FooBarRequest

type FooBarRequest struct {
	Foo string `json:"foo"`
	Bar []int  `json:"bar"`
}

FooBarRequest represents body of FooBar request.

type FooBarResponse

type FooBarResponse struct {
	Baz struct {
		Prop string `json:"prop"`
	} `json:"baz"`
}

FooBarResponse represents body of FooBar response.

Jump to

Keyboard shortcuts

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