Documentation ¶
Index ¶
- func GenerateURL(host string, path string, params URLParams) (*url.URL, error)
- func QuerySiteTestUserCredentials(site string) (*data.Site, error)
- func ReadEndpoint(endpointURL *url.URL, auth *BasicAuth, checkStatus bool) ([]byte, error)
- func SetSiteAccountsServiceConfig(siteacc *config.SiteAccountsService)
- func WriteEndpoint(endpointURL *url.URL, auth *BasicAuth, checkStatus bool) ([]byte, error)
- type BasicAuth
- type ResponseParams
- type URLParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateURL ¶
GenerateURL creates a URL object from a host, path and optional parameters.
func ReadEndpoint ¶
ReadEndpoint reads data from an HTTP endpoint via GET.
func SetSiteAccountsServiceConfig ¶
func SetSiteAccountsServiceConfig(siteacc *config.SiteAccountsService)
Types ¶
type ResponseParams ¶
type ResponseParams map[string]interface{}
ResponseParams holds parameters of an HTTP response.
Click to show internal directories.
Click to hide internal directories.