# Functions
No description provided by the author
NewAddressBookAPI creates a new AddressBook instance.
NewGetContacts creates a new http.Handler for the get contacts operation.
NewGetContactsDefault creates GetContactsDefault with default headers values.
NewGetContactsOK creates GetContactsOK with default headers values.
NewGetContactsParams creates a new GetContactsParams object no default values defined in spec.
NewPostContacts creates a new http.Handler for the post contacts operation.
NewPostContactsCreated creates PostContactsCreated with default headers values.
NewPostContactsDefault creates PostContactsDefault with default headers values.
NewPostContactsParams creates a new PostContactsParams object no default values defined in spec.
No description provided by the author
# Constants
GetContactsOKCode is the HTTP code returned for type GetContactsOK.
PostContactsCreatedCode is the HTTP code returned for type PostContactsCreated.
# Structs
AddressBookAPI the address book API */.
GetContacts swagger:route GET /contacts getContacts
List contacts
*/.
GetContactsDefault Error
swagger:response getContactsDefault
*/.
No description provided by the author
GetContactsOK Contacts list
swagger:response getContactsOK
*/.
GetContactsParams contains all the bound params for the get contacts operation typically these are obtained from a http.Request
swagger:parameters GetContacts.
GetContactsURL generates an URL for the get contacts operation.
PostContacts swagger:route POST /contacts postContacts
Add contact
*/.
PostContactsCreated Added contact
swagger:response postContactsCreated
*/.
PostContactsDefault Error
swagger:response postContactsDefault
*/.
No description provided by the author
PostContactsParams contains all the bound params for the post contacts operation typically these are obtained from a http.Request
swagger:parameters PostContacts.
PostContactsURL generates an URL for the post contacts operation.
# Interfaces
GetContactsHandler interface for that can handle valid get contacts params.
No description provided by the author
PostContactsHandler interface for that can handle valid post contacts params.
No description provided by the author
# Type aliases
GetContactsHandlerFunc turns a function with the right signature into a get contacts handler.
PostContactsHandlerFunc turns a function with the right signature into a post contacts handler.