package
0.0.0-20190527043044-b20fb0a95041
Repository: https://github.com/bnprashanth/goexample-swagger.git
Documentation: pkg.go.dev

# Functions

NewGetTest creates a new http.Handler for the get test operation.
NewGetTestOK creates GetTestOK with default headers values.
NewGetTestParams creates a new GetTestParams object no default values defined in spec.
NewPostTest creates a new http.Handler for the post test operation.
NewPostTestOK creates PostTestOK with default headers values.
NewPostTestParams creates a new PostTestParams object no default values defined in spec.
NewSampleNewsFeedAPI creates a new SampleNewsFeed instance.

# Constants

GetTestOKCode is the HTTP code returned for type GetTestOK.
PostTestOKCode is the HTTP code returned for type PostTestOK.

# Structs

GetTest swagger:route GET /test getTest GetTest get test API */.
GetTestOK OK swagger:response getTestOK */.
GetTestParams contains all the bound params for the get test operation typically these are obtained from a http.Request swagger:parameters GetTest.
GetTestURL generates an URL for the get test operation.
PostTest swagger:route POST /test postTest PostTest post test API */.
PostTestOK OK swagger:response postTestOK */.
PostTestParams contains all the bound params for the post test operation typically these are obtained from a http.Request swagger:parameters PostTest.
PostTestURL generates an URL for the post test operation.
SampleNewsFeedAPI This is a sample server for a News Feed.

# Interfaces

GetTestHandler interface for that can handle valid get test params.
PostTestHandler interface for that can handle valid post test params.

# Type aliases

GetTestHandlerFunc turns a function with the right signature into a get test handler.
PostTestHandlerFunc turns a function with the right signature into a post test handler.