package
0.0.0-20240915062736-6f410cc57783
Repository: https://github.com/karma3labs/go-eigentrust.git
Documentation: pkg.go.dev
# Functions
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewComputeRequest calls the generic Compute builder with application/json body.
NewComputeRequestWithBody generates requests for Compute with any type of body.
NewComputeWithStatsRequest calls the generic ComputeWithStats builder with application/json body.
NewComputeWithStatsRequestWithBody generates requests for ComputeWithStats with any type of body.
NewDeleteLocalTrustRequest generates requests for DeleteLocalTrust.
NewGetLocalTrustRequest generates requests for GetLocalTrust.
NewGetStatusRequest generates requests for GetStatus.
NewHeadLocalTrustRequest generates requests for HeadLocalTrust.
No description provided by the author
NewUpdateLocalTrustRequest calls the generic UpdateLocalTrust builder with application/json body.
NewUpdateLocalTrustRequestWithBody generates requests for UpdateLocalTrust with any type of body.
ParseComputeResponse parses an HTTP response from a ComputeWithResponse call.
ParseComputeWithStatsResponse parses an HTTP response from a ComputeWithStatsWithResponse call.
ParseDeleteLocalTrustResponse parses an HTTP response from a DeleteLocalTrustWithResponse call.
ParseGetLocalTrustResponse parses an HTTP response from a GetLocalTrustWithResponse call.
ParseGetStatusResponse parses an HTTP response from a GetStatusWithResponse call.
ParseHeadLocalTrustResponse parses an HTTP response from a HeadLocalTrustWithResponse call.
ParseUpdateLocalTrustResponse parses an HTTP response from a UpdateLocalTrustWithResponse call.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
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 TrustVectorRefScheme.
Defines values for InlineTrustMatrixScheme.
Defines values for InlineTrustVectorScheme.
Defines values for TrustVectorRefScheme.
Defines values for ObjectStorageTrustMatrixScheme.
Defines values for ObjectStorageTrustVectorScheme.
Defines values for TrustVectorRefScheme.
Defines values for StoredTrustMatrixScheme.
Defines values for TrustMatrixRefScheme.
Defines values for TrustMatrixRefScheme.
Defines values for TrustMatrixRefScheme.
# Structs
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
ComputeParams defines model for ComputeParams.
ComputeRequestBody defines model for ComputeRequestBody.
No description provided by the author
ComputeRequestParams defines model for ComputeRequestParams.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ComputeWithStatsResponseOK defines model for ComputeWithStatsResponseOK.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FlatTailStats Flat-tail algorithm stats and peer ranking.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InlineTrustMatrix Refers to a trust matrix "inline".
InlineTrustMatrixEntry Represents an entry in the trust matrix.
InlineTrustVector Refers to a trust vector "inline".
InlineTrustVectorEntry Represents an entry in the trust vector.
InvalidRequest defines model for InvalidRequest.
ObjectStorageTrustMatrix Refers to a trust matrix in a remote object storage service.
ObjectStorageTrustVector Refers to a trust vector in a remote object storage service.
ServerInterfaceWrapper converts echo contexts to parameters.
ServerStatus defines model for ServerStatus.
StoredTrustMatrix Refers to a trust matrix stored on the server.
TrustMatrixRef defines model for TrustMatrixRef.
TrustVectorRef defines model for TrustVectorRef.
No description provided by the author
No description provided by the author
No description provided by the author
UpdateLocalTrustParams defines parameters for UpdateLocalTrust.
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.
No description provided by the author
No description provided by the author
No description provided by the author
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
No description provided by the author
No description provided by the author
No description provided by the author
Doer performs HTTP requests.
ServerInterface represents all server handlers.
StrictServerInterface represents all server handlers.
No description provided by the author
# Type aliases
ClientOption allows setting custom parameters during construction.
ComputeJSONRequestBody defines body for Compute for application/json ContentType.
ComputeResponseOK Refers to a trust vector.
No description provided by the author
ComputeWithStatsJSONRequestBody defines body for ComputeWithStats for application/json ContentType.
No description provided by the author
InlineTrustMatrixScheme A fixed string `"inline"`.
InlineTrustVectorScheme A fixed string `"inline"` to denote an inline reference.
No description provided by the author
LocalTrustGetResponseOK Refers to a trust matrix "inline".
No description provided by the author
LocalTrustIdParam Denotes a trust collection (matrix/vector).
ObjectStorageTrustMatrixScheme A fixed string `"objectstorage"`.
ObjectStorageTrustVectorScheme A fixed string `"objectstorage"`.
RequestEditorFn is the function signature for the RequestEditor callback function.
ServerNotReady defines model for ServerNotReady.
No description provided by the author
ServerReady defines model for ServerReady.
No description provided by the author
StoredTrustMatrixScheme A fixed string `"stored"`.
No description provided by the author
No description provided by the author
TrustCollectionId Denotes a trust collection (matrix/vector).
TrustMatrixRefScheme Trust reference scheme, akin to URI scheme.
TrustVectorRefScheme Trust vector reference scheme, akin to URI scheme.
UpdateLocalTrustJSONRequestBody defines body for UpdateLocalTrust for application/json ContentType.