Versions in this module Expand all Collapse all v0 v0.2.0 Dec 25, 2015 v0.1.0 Dec 14, 2015 Changes in this version + type API struct + DefaultConsumes string + DefaultProduces string + Models map[string]func() interface{} + ServeError func(http.ResponseWriter, *http.Request, error) + func NewAPI(spec *spec.Document) *API + func (d *API) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]httpkit.Authenticator + func (d *API) ConsumersFor(mediaTypes []string) map[string]httpkit.Consumer + func (d *API) Formats() strfmt.Registry + func (d *API) OperationHandlerFor(operationID string) (httpkit.OperationHandler, bool) + func (d *API) ProducersFor(mediaTypes []string) map[string]httpkit.Producer + func (d *API) RegisterAuth(scheme string, handler httpkit.Authenticator) + func (d *API) RegisterConsumer(mediaType string, handler httpkit.Consumer) + func (d *API) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator) + func (d *API) RegisterOperation(operationID string, handler httpkit.OperationHandler) + func (d *API) RegisterProducer(mediaType string, handler httpkit.Producer) + func (d *API) Validate() error