Versions in this module Expand all Collapse all v0 v0.0.0 Jun 9, 2020 Changes in this version + type Api struct + ApiEndpoint string + ApiPassword string + HttpClient *http.Client + LicenseId string + func NewApi(licenseId string, apiPassword string) *Api + func (api *Api) Do(request ApiRequest) (body []byte, err error) + func (api *Api) GetRequestToken(request *BaseRequest) string + type ApiRequest interface + GetHttpRequest func(api *Api) (req *http.Request, err error) + type AuthenticationRequest struct + func NewAuthenticationRequest() *AuthenticationRequest + func (req *AuthenticationRequest) Do(api *Api) (r *AuthenticationResponse, err error) + type AuthenticationResponse struct + Code string + ContentHash string + Error string + LicenseId string + Method string + RequestTimestamp string + Resource string + Result string + type BaseRequest struct + Content []byte + Method string + Resource string + Timestamp int64 + func (r *BaseRequest) GetContentHash() string + func (r *BaseRequest) GetHttpRequest(api *Api) (req *http.Request, err error) + func (r *BaseRequest) GetRequestString() string + type SysinfoRequest struct + func NewSysinfoRequest() *SysinfoRequest + func (req *SysinfoRequest) Do(api *Api) (resp *SysinfoResponse, err error) + type SysinfoResponse struct + ApiVersion string + Clients struct{ ... } + License struct{ ... } + Name string + Sessions struct{ ... } + Standalone bool