Documentation
¶
Index ¶
- type ChangeNameRequest
- type Client
- func (c *Client) Close() error
- func (c *Client) HandleChangeUsername(w http.ResponseWriter, r *http.Request)
- func (c *Client) HandleLoginEmail(w http.ResponseWriter, r *http.Request)
- func (c *Client) HandleLoginOtp(w http.ResponseWriter, r *http.Request)
- func (c *Client) HandleLogout(w http.ResponseWriter, r *http.Request)
- func (c *Client) HandleProfile(w http.ResponseWriter, r *http.Request)
- func (c *Client) HandleRefresh(w http.ResponseWriter, r *http.Request)
- func (c *Client) Target() string
- type LoginRequest
- type OTPRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeNameRequest ¶
type ChangeNameRequest struct {
NewName string `json:"name"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) HandleChangeUsername ¶
func (c *Client) HandleChangeUsername(w http.ResponseWriter, r *http.Request)
func (*Client) HandleLoginEmail ¶
func (c *Client) HandleLoginEmail(w http.ResponseWriter, r *http.Request)
func (*Client) HandleLoginOtp ¶
func (c *Client) HandleLoginOtp(w http.ResponseWriter, r *http.Request)
func (*Client) HandleLogout ¶
func (c *Client) HandleLogout(w http.ResponseWriter, r *http.Request)
func (*Client) HandleProfile ¶
func (c *Client) HandleProfile(w http.ResponseWriter, r *http.Request)
func (*Client) HandleRefresh ¶
func (c *Client) HandleRefresh(w http.ResponseWriter, r *http.Request)
type LoginRequest ¶
type LoginRequest struct {
Login string `json:"login"`
}
type OTPRequest ¶
Click to show internal directories.
Click to hide internal directories.