Documentation
¶
Index ¶
Constants ¶
View Source
const ( // List of available headers Authorization string = request.AuthHeaderKey )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewWithHealthClient ¶
func NewWithHealthClient(hcCli *healthcheck.Client) *Client
NewWithHealthClient creates a new instance of redirect API Client, reusing the URL and Clienter from the provided healthcheck client
func (*Client) Checker ¶
Checker calls redirect api health endpoint and returns a check object to the caller
func (*Client) GetHelloWorld ¶
func (cli *Client) GetHelloWorld(ctx context.Context, options Options) (*api.HelloResponse, apiError.Error)
TODO: remove GetHelloWorld GetHelloWorld gets the HelloWorld endpoint
func (*Client) Health ¶
func (cli *Client) Health() *healthcheck.Client
Health returns the underlying Healthcheck Client for this redirect API client
Click to show internal directories.
Click to hide internal directories.