# Packages
Package mock_api is a generated GoMock package.
# Functions
Error creates an detailed error response.
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.
NewDeleteSegmentRequest generates requests for DeleteSegment.
NewGetSegmentBlobRequest generates requests for GetSegmentBlob.
NewGetSegmentRequest generates requests for GetSegment.
NewGetSegmentsRequest generates requests for GetSegments.
ParseDeleteSegmentResponse parses an HTTP response from a DeleteSegmentWithResponse call.
ParseGetSegmentBlobResponse parses an HTTP response from a GetSegmentBlobWithResponse call.
ParseGetSegmentResponse parses an HTTP response from a GetSegmentWithResponse call.
ParseGetSegmentsResponse parses an HTTP response from a GetSegmentsWithResponse call.
SegID makes a hex encoded string of the segment id.
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.
# 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
GetSegmentsParams defines parameters for GetSegments.
No description provided by the author
Hop defines model for Hop.
No description provided by the author
Problem defines model for Problem.
No description provided by the author
No description provided by the author
Segment defines model for Segment.
SegmentBrief defines model for SegmentBrief.
No description provided by the author
ServerInterfaceWrapper converts contexts to parameters.
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.
No description provided by the author
ServerInterface represents all server handlers.
# Type aliases
ClientOption allows setting custom parameters during construction.
IsdAs defines model for IsdAs.
No description provided by the author
RequestEditorFn is the function signature for the RequestEditor callback function.
SegmentID defines model for SegmentID.