package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
GetAdminJSONProto performs a RPC-over-HTTP request to the admin endpoint and unmarshals the response into the specified proto message.
GetAdminJSONProtoWithAdminOption performs a RPC-over-HTTP request to the admin endpoint and unmarshals the response into the specified proto message.
GetJSON fetches the JSON from the specified URL and returns it as unmarshaled JSON.
GetStatusJSONProto performs a RPC-over-HTTP request to the status endpoint and unmarshals the response into the specified proto message.
GetStatusJSONProtoWithAdminAndTimeoutOption is similar to GetStatusJSONProtoWithAdminOption, but the caller can specify an additional timeout duration for the request.
GetStatusJSONProtoWithAdminOption performs a RPC-over-HTTP request to the status endpoint and unmarshals the response into the specified proto message.
GetText fetches the HTTP response body as text in the form of a byte slice from the specified URL.
PostAdminJSONProto performs a RPC-over-HTTP request to the admin endpoint and unmarshals the response into the specified proto message.
PostAdminJSONProtoWithAdminOption performs a RPC-over-HTTP request to the admin endpoint and unmarshals the response into the specified proto message.
PostStatusJSONProto performs a RPC-over-HTTP request to the status endpoint and unmarshals the response into the specified proto message.
PostStatusJSONProtoWithAdminOption performs a RPC-over-HTTP request to the status endpoint and unmarshals the response into the specified proto message.