Documentation ¶
Overview ¶
Copyright (c) 2021, SailPoint Technologies, Inc. All rights reserved.
Index ¶
- type Client
- type SpClient
- func (c *SpClient) Delete(ctx context.Context, url string, params map[string]string) (*http.Response, error)
- func (c *SpClient) Get(ctx context.Context, url string) (*http.Response, error)
- func (c *SpClient) Patch(ctx context.Context, url string, body io.Reader) (*http.Response, error)
- func (c *SpClient) Post(ctx context.Context, url string, contentType string, body io.Reader) (*http.Response, error)
- func (c *SpClient) Put(ctx context.Context, url string, contentType string, body io.Reader) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Get(ctx context.Context, url string) (*http.Response, error) Delete(ctx context.Context, url string, params map[string]string) (*http.Response, error) Post(ctx context.Context, url string, contentType string, body io.Reader) (*http.Response, error) Put(ctx context.Context, url string, contentType string, body io.Reader) (*http.Response, error) Patch(ctx context.Context, url string, body io.Reader) (*http.Response, error) }
func NewSpClient ¶
Click to show internal directories.
Click to hide internal directories.