# Functions
No description provided by the author
No description provided by the author
No description provided by the author
NewAddContact creates a new http.Handler for the add contact operation.
NewAddContactCreated creates AddContactCreated with default headers values.
NewAddContactDefault creates AddContactDefault with default headers values.
NewAddContactParams creates a new AddContactParams object no default values defined in spec.
NewAddressBookAPI creates a new AddressBook instance.
NewHealthCheck creates a new http.Handler for the health check operation.
NewHealthCheckDefault creates HealthCheckDefault with default headers values.
NewHealthCheckOK creates HealthCheckOK with default headers values.
NewHealthCheckParams creates a new HealthCheckParams object no default values defined in spec.
NewListContacts creates a new http.Handler for the list contacts operation.
NewListContactsDefault creates ListContactsDefault with default headers values.
NewListContactsOK creates ListContactsOK with default headers values.
NewListContactsParams creates a new ListContactsParams object no default values defined in spec.
# Constants
AddContactCreatedCode is the HTTP code returned for type AddContactCreated.
HealthCheckOKCode is the HTTP code returned for type HealthCheckOK.
ListContactsOKCode is the HTTP code returned for type ListContactsOK.
# Structs
AddContact swagger:route POST /contacts addContact
Add new contact.
AddContactCreated Contact added.
AddContactDefault - 409.1000: contact already exists
swagger:response addContactDefault
*/.
No description provided by the author
AddContactParams contains all the bound params for the add contact operation typically these are obtained from a http.Request
swagger:parameters addContact.
AddContactURL generates an URL for the add contact operation.
AddressBookAPI # ..
HealthCheck swagger:route GET /health-check healthCheck
Returns 200 if service works okay.
HealthCheckDefault General errors using same model as used by go-swagger for validation errors.
No description provided by the author
HealthCheckOK Extra details about service status, if any.
HealthCheckParams contains all the bound params for the health check operation typically these are obtained from a http.Request
swagger:parameters healthCheck.
HealthCheckURL generates an URL for the health check operation.
ListContacts swagger:route GET /contacts listContacts
Return all contacts ordered by ID ASC using pagination.
ListContactsBody list contacts body
swagger:model ListContactsBody.
ListContactsDefault General errors using same model as used by go-swagger for validation errors.
No description provided by the author
ListContactsOK OK
swagger:response listContactsOK
*/.
ListContactsParams contains all the bound params for the list contacts operation typically these are obtained from a http.Request
swagger:parameters listContacts.
ListContactsURL generates an URL for the list contacts operation.
# Interfaces
AddContactHandler interface for that can handle valid add contact params.
No description provided by the author
HealthCheckHandler interface for that can handle valid health check params.
No description provided by the author
ListContactsHandler interface for that can handle valid list contacts params.
No description provided by the author
# Type aliases
AddContactHandlerFunc turns a function with the right signature into a add contact handler.
HealthCheckHandlerFunc turns a function with the right signature into a health check handler.
ListContactsHandlerFunc turns a function with the right signature into a list contacts handler.