_2_thin_interface

package
v0.0.0-...-24b7180 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type City

type City struct {
	ID          int
	Description string
}

type CityByIDLoader

type CityByIDLoader interface {
	LoadByID(int) (*City, error)
}

type LoadCityByIDEndpoint

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

func (*LoadCityByIDEndpoint) ServeHTTP

func (l *LoadCityByIDEndpoint) ServeHTTP(resp http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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