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
Click to show internal directories.
Click to hide internal directories.