Documentation ¶ Index ¶ func GenerateHttpClient(ca *keys.CA, client *keys.Client) (*http.Client, string, error) type Client type Http func NewHttpClients() *Http func (http *Http) Append(username string, client *Client) func (http *Http) Get(username string) *Client Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GenerateHttpClient ¶ func GenerateHttpClient(ca *keys.CA, client *keys.Client) (*http.Client, string, error) Types ¶ type Client ¶ type Client struct { Http *http.Client Username string API string IPs []net.IP Domains []string } type Http ¶ type Http struct { Clients map[string]*Client } func NewHttpClients ¶ func NewHttpClients() *Http func (*Http) Append ¶ func (http *Http) Append(username string, client *Client) func (*Http) Get ¶ func (http *Http) Get(username string) *Client Source Files ¶ View all Source files Client.go Type.go Click to show internal directories. Click to hide internal directories.