v3

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoffeeService

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

CoffeeService is the service implementation for this microservice.

func NewCoffeeService

func NewCoffeeService(repository data.Repository, l hclog.Logger) *CoffeeService

NewCoffeeService is a factory method that returns a new instance of the CoffeeService.

func (*CoffeeService) ServeHTTP

func (c *CoffeeService) ServeHTTP(rw http.ResponseWriter, r *http.Request)

ServeHTTP handles incoming requests for the api coffees route

Jump to

Keyboard shortcuts

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