Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Host string ServiceAccount string Audience string // contains filtered or unexported fields }
Client represents a client for interaction with a GCP REST API
type Request ¶
type Request struct { Method string `json:"method"` Params interface{} `json:"params"` }
Request represents a request to a REST API
type ResponseError ¶
type ResponseError struct { Code int `json:"code"` Message string `json:"message"` Name string `json:"name"` }
ResponseError represents an Error to a REST API call
func (*ResponseError) Error ¶
func (e *ResponseError) Error() string
Click to show internal directories.
Click to hide internal directories.