package
0.12.0
Repository: https://github.com/scionproto/scion.git
Documentation: pkg.go.dev

# Functions

GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetConfigRequest generates requests for GetConfig.
NewGetInfoRequest generates requests for GetInfo.
NewGetLogLevelRequest generates requests for GetLogLevel.
NewSetLogLevelRequest calls the generic SetLogLevel builder with application/json body.
NewSetLogLevelRequestWithBody generates requests for SetLogLevel with any type of body.
ParseGetConfigResponse parses an HTTP response from a GetConfigWithResponse call.
ParseGetInfoResponse parses an HTTP response from a GetInfoWithResponse call.
ParseGetLogLevelResponse parses an HTTP response from a GetLogLevelWithResponse call.
ParseSetLogLevelResponse parses an HTTP response from a SetLogLevelWithResponse call.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
ServeSpecInteractive serves the interactive redocly OpenAPI3 spec.
ServeSpecJSON serves the json encoded OpenAPI3 spec.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Constants

Defines values for LogLevelLevel.
Defines values for LogLevelLevel.
Defines values for LogLevelLevel.

# Structs

No description provided by the author
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LogLevel defines model for LogLevel.
No description provided by the author
No description provided by the author
Server implements the Posix Gateway Service API.
ServerInterfaceWrapper converts contexts to parameters.
No description provided by the author
StandardError defines model for StandardError.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.
ServerInterface represents all server handlers.

# Type aliases

BadRequest defines model for BadRequest.
ClientOption allows setting custom parameters during construction.
LogLevelLevel Logging level.
No description provided by the author
RequestEditorFn is the function signature for the RequestEditor callback function.
SetLogLevelJSONRequestBody defines body for SetLogLevel for application/json ContentType.