package
0.5.0
Repository: https://github.com/sourcegraph/gonduit.git
Documentation: pkg.go.dev

# Functions

GetEndpointURI formats a hostname and method name into an endpoint URI.
IsConduitError checks whether or not err is a ConduitError.
MakeRequest creates a new requests to the conduit API.
PerformCall performs a call to the Conduit API with the provided URL and parameters.
PerformCallContext performs a call to the Conduit API with the context, URL and parameters.

# Variables

ErrJSONOutputUnsupported is returned when conduit doesn't support JSON output.
ErrMissingResults is returned when the "results" key is missing from the response object.
ErrSessionAuthUnsupported is returned when conduit doesn't support session authentication.
ErrTokenAuthUnsupported is returned when conduit doesn't support token authentication.
ErrURLEncodedInputUnsupported is returned when conduit doesn't support URL encoded input.

# Structs

ClientOptions are options that can be set on the HTTP client.
ConduitError is returned when conduit requests return an error response.

# Interfaces

An Client performs http.Requests.