Documentation ¶
Index ¶
- func RequestWithURLParams(body []byte, params map[string]string) *http.Request
- type Signer
- type TestClient
- func (c *TestClient) Delete(path, body string) *http.Response
- func (c *TestClient) Do(method, path, body string) *http.Response
- func (c *TestClient) Get(path string) *http.Response
- func (c *TestClient) Patch(path, body string) *http.Response
- func (c *TestClient) Post(path, body string) *http.Response
- func (c *TestClient) Put(path, body string) *http.Response
- func (c *TestClient) SetSigner(signer Signer) *TestClient
- func (c TestClient) WithClaims(claims jwt.Claims) *TestClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestClient ¶
type TestClient struct {
// contains filtered or unexported fields
}
func (*TestClient) SetSigner ¶
func (c *TestClient) SetSigner(signer Signer) *TestClient
func (TestClient) WithClaims ¶
func (c TestClient) WithClaims(claims jwt.Claims) *TestClient
Click to show internal directories.
Click to hide internal directories.