Versions in this module Expand all Collapse all v0 v0.17.0 Oct 7, 2018 Changes in this version + const GetGreetingOKCode + type GetGreeting struct + Context *middleware.Context + Handler GetGreetingHandler + func NewGetGreeting(ctx *middleware.Context, handler GetGreetingHandler) *GetGreeting + func (o *GetGreeting) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type GetGreetingHandler interface + Handle func(GetGreetingParams) middleware.Responder + type GetGreetingHandlerFunc func(GetGreetingParams) middleware.Responder + func (fn GetGreetingHandlerFunc) Handle(params GetGreetingParams) middleware.Responder + type GetGreetingOK struct + Payload string + func NewGetGreetingOK() *GetGreetingOK + func (o *GetGreetingOK) SetPayload(payload string) + func (o *GetGreetingOK) WithPayload(payload string) *GetGreetingOK + func (o *GetGreetingOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetGreetingParams struct + HTTPRequest *http.Request + Name *string + func NewGetGreetingParams() GetGreetingParams + func (o *GetGreetingParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type GetGreetingURL struct + Name *string + func (o *GetGreetingURL) Build() (*url.URL, error) + func (o *GetGreetingURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *GetGreetingURL) Must(u *url.URL, err error) *url.URL + func (o *GetGreetingURL) SetBasePath(bp string) + func (o *GetGreetingURL) String() string + func (o *GetGreetingURL) StringFull(scheme, host string) string + func (o *GetGreetingURL) WithBasePath(bp string) *GetGreetingURL + type GreeterAPI struct + APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator + BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator + BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator + CommandLineOptionsGroups []swag.CommandLineOptionsGroup + GetGreetingHandler GetGreetingHandler + JSONConsumer runtime.Consumer + Logger func(string, ...interface{}) + Middleware func(middleware.Builder) http.Handler + ServeError func(http.ResponseWriter, *http.Request, error) + ServerShutdown func() + TxtProducer runtime.Producer + func NewGreeterAPI(spec *loads.Document) *GreeterAPI + func (o *GreeterAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator + func (o *GreeterAPI) Authorizer() runtime.Authorizer + func (o *GreeterAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer + func (o *GreeterAPI) Context() *middleware.Context + func (o *GreeterAPI) DefaultConsumes() string + func (o *GreeterAPI) DefaultProduces() string + func (o *GreeterAPI) Formats() strfmt.Registry + func (o *GreeterAPI) HandlerFor(method, path string) (http.Handler, bool) + func (o *GreeterAPI) Init() + func (o *GreeterAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer + func (o *GreeterAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer) + func (o *GreeterAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator) + func (o *GreeterAPI) RegisterProducer(mediaType string, producer runtime.Producer) + func (o *GreeterAPI) Serve(builder middleware.Builder) http.Handler + func (o *GreeterAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error) + func (o *GreeterAPI) SetDefaultConsumes(mediaType string) + func (o *GreeterAPI) SetDefaultProduces(mediaType string) + func (o *GreeterAPI) SetSpec(spec *loads.Document) + func (o *GreeterAPI) Validate() error