openapi

package
v0.0.0-...-33b12f9 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddItem

func AddItem(w http.ResponseWriter, r *http.Request)

AddItem adds an item to a list

func GetList

func GetList(w http.ResponseWriter, r *http.Request)

GetList responds with a grocery list

func GetLists

func GetLists(w http.ResponseWriter, r *http.Request)

GetLists responds with the grocery lists

func GetVersion

func GetVersion(w http.ResponseWriter, r *http.Request)

GetVersion responds with the API version and build date

Types

type Container

type Container struct {
	CookieJar  *cookiejar.Jar
	HTTPClient http.Client
}

Container provides dependencies

func NewContainer

func NewContainer() Container

NewContainer creates a Container with real interfaces

Jump to

Keyboard shortcuts

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