package
0.0.0-20241112065220-c0e013925253
Repository: https://github.com/mytrix-technology/golang-training.git
Documentation: pkg.go.dev

# Functions

NewCheckHealth creates a new http.Handler for the check health operation.
NewCheckHealthOK creates CheckHealthOK with default headers values.
NewCheckHealthParams creates a new CheckHealthParams object There are no default values defined in the spec.
NewGetGopherName creates a new http.Handler for the get gopher name operation.
NewGetGopherNameOK creates GetGopherNameOK with default headers values.
NewGetGopherNameParams creates a new GetGopherNameParams object There are no default values defined in the spec.
NewGetHelloUser creates a new http.Handler for the get hello user operation.
NewGetHelloUserBadRequest creates GetHelloUserBadRequest with default headers values.
NewGetHelloUserOK creates GetHelloUserOK with default headers values.
NewGetHelloUserParams creates a new GetHelloUserParams object There are no default values defined in the spec.
NewHelloAPIAPI creates a new HelloAPI instance.

# Constants

CheckHealthOKCode is the HTTP code returned for type CheckHealthOK.
GetGopherNameOKCode is the HTTP code returned for type GetGopherNameOK.
GetHelloUserBadRequestCode is the HTTP code returned for type GetHelloUserBadRequest.
GetHelloUserOKCode is the HTTP code returned for type GetHelloUserOK.

# Structs

CheckHealth swagger:route GET /healthz checkHealth CheckHealth check health API */.
CheckHealthOK OK message swagger:response checkHealthOK */.
CheckHealthParams contains all the bound params for the check health operation typically these are obtained from a http.Request swagger:parameters checkHealth.
CheckHealthURL generates an URL for the check health operation.
GetGopherName swagger:route GET /gopher/{name} getGopherName Return the Gopher Image */.
GetGopherNameOK Returns the gopher.
GetGopherNameParams contains all the bound params for the get gopher name operation typically these are obtained from a http.Request swagger:parameters GetGopherName.
GetGopherNameURL generates an URL for the get gopher name operation.
GetHelloUser swagger:route GET /hello/{user} getHelloUser Returns a greeting to the user! */.
GetHelloUserBadRequest Invalid characters in "user" were provided.
GetHelloUserOK Returns the greeting.
GetHelloUserParams contains all the bound params for the get hello user operation typically these are obtained from a http.Request swagger:parameters GetHelloUser.
GetHelloUserURL generates an URL for the get hello user operation.
HelloAPIAPI HTTP server in Go with Swagger endpoints definition */.

# Interfaces

CheckHealthHandler interface for that can handle valid check health params.
GetGopherNameHandler interface for that can handle valid get gopher name params.
GetHelloUserHandler interface for that can handle valid get hello user params.

# Type aliases

CheckHealthHandlerFunc turns a function with the right signature into a check health handler.
GetGopherNameHandlerFunc turns a function with the right signature into a get gopher name handler.
GetHelloUserHandlerFunc turns a function with the right signature into a get hello user handler.