Documentation ¶
Index ¶
- func BasicAuth(username, password string) string
- type Client
- func (c *Client) Call(path string, request []interface{}) (*gjson.Result, error)
- func (c *Client) LocalPk2Pkr(pk, rnd string) (string, error)
- func (c *Client) LocalSeed2Sk(seed string) (string, error)
- func (c *Client) LocalSk2Tk(sk string) (string, error)
- func (c *Client) LocalTk2Pk(tk string) (string, error)
- type ClientInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuth ¶
See 2 (end of page 4) http://www.ietf.org/rfc/rfc2617.txt "To receive authorization, the client sends the userid and password, separated by a single colon (":") character, within a base64 encoded string in the credentials." It is not meant to be urlencoded.
Types ¶
Click to show internal directories.
Click to hide internal directories.