Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOptions ¶
AddOptions adds the parameters in opts as URL query parameters to s. opts must be a struct whose fields may contain "url" tags.
Types ¶
type ClientInterface ¶
type ClientInterface interface { NewRequest(ctx context.Context, method, urlStr string, body interface{}) (*http.Request, error) Do(req *http.Request, v interface{}) (*http.Response, error) }
ClientInterface is an interface for making and executing BastionZero API requests
type Service ¶
type Service struct {
Client ClientInterface
}
Service manages communication with exactly one BastionZero API service. It contains a client that can be used to make API requests to BastionZero.
Click to show internal directories.
Click to hide internal directories.