package
0.0.0-20240619102128-4f0ababdb785
Repository: https://github.com/cilium/starwars-docker.git
Documentation: pkg.go.dev

# Functions

NewDeathstarAPI creates a new Deathstar instance.
NewGet creates a new http.Handler for the get operation.
NewGetOK creates GetOK with default headers values.
NewGetParams creates a new GetParams object with the default values initialized.
NewPostRequestLanding creates a new http.Handler for the post request landing operation.
NewPostRequestLandingOK creates PostRequestLandingOK with default headers values.
NewPostRequestLandingParams creates a new PostRequestLandingParams object with the default values initialized.
NewPutExhaustPort creates a new http.Handler for the put exhaust port operation.
NewPutExhaustPortOK creates PutExhaustPortOK with default headers values.
NewPutExhaustPortParams creates a new PutExhaustPortParams object with the default values initialized.
NewPutExhaustPortServiceUnavailable creates PutExhaustPortServiceUnavailable with default headers values.

# Constants

HTTP code for type GetOK.
HTTP code for type PostRequestLandingOK.
HTTP code for type PutExhaustPortOK.
HTTP code for type PutExhaustPortServiceUnavailable.

# Structs

DeathstarAPI API of a Star Wars Deathstar */.
Get swagger:route GET / get Get in touch with the deathstar */.
GetOK OK swagger:response getOK */.
GetParams contains all the bound params for the get operation typically these are obtained from a http.Request swagger:parameters Get.
GetURL generates an URL for the get operation.
PostRequestLanding swagger:route POST /request-landing postRequestLanding Land a ship in the ship bay */.
PostRequestLandingOK OK swagger:response postRequestLandingOK */.
PostRequestLandingParams contains all the bound params for the post request landing operation typically these are obtained from a http.Request swagger:parameters PostRequestLanding.
PostRequestLandingURL generates an URL for the post request landing operation.
PutExhaustPort swagger:route PUT /exhaust-port putExhaustPort Put something into the thermal exhaust port of the deathstar */.
PutExhaustPortOK OK swagger:response putExhaustPortOK */.
PutExhaustPortParams contains all the bound params for the put exhaust port operation typically these are obtained from a http.Request swagger:parameters PutExhaustPort.
PutExhaustPortServiceUnavailable Deathstar exploded swagger:response putExhaustPortServiceUnavailable */.
PutExhaustPortURL generates an URL for the put exhaust port operation.

# Interfaces

GetHandler interface for that can handle valid get params.
PostRequestLandingHandler interface for that can handle valid post request landing params.
PutExhaustPortHandler interface for that can handle valid put exhaust port params.

# Type aliases

GetHandlerFunc turns a function with the right signature into a get handler.
PostRequestLandingHandlerFunc turns a function with the right signature into a post request landing handler.
PutExhaustPortHandlerFunc turns a function with the right signature into a put exhaust port handler.