Documentation
¶
Index ¶
- type Client
- func (c *Client) GetCSRFToken() string
- func (c *Client) GetUserInfo() models.User
- func (a *Client) HandleRequest(method, url string, payload any) (*http.Response, error)
- func (a *Client) HandleResponse(resp *http.Response, out models.Scannable) (string, error)
- func (c *Client) SetCSRFToken(token string)
- func (c *Client) SetUserInfo(info models.User)
- type ClientHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetCSRFToken ¶ added in v0.3.0
func (*Client) GetUserInfo ¶ added in v0.3.0
func (*Client) HandleRequest ¶
func (*Client) HandleResponse ¶
func (*Client) SetCSRFToken ¶ added in v0.3.0
func (*Client) SetUserInfo ¶ added in v0.3.0
type ClientHandler ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.