Documentation ¶
Index ¶
- type SDKClient
- func (c *SDKClient) Do(req *model.Request, resp interface{}) error
- func (c SDKClient) OcpcToken() string
- func (c *SDKClient) Post(reqUrl string, reqBytes []byte, resp interface{}) error
- func (c *SDKClient) SetDebug(debug bool)
- func (c *SDKClient) SetUser(username string, password string)
- func (c SDKClient) Token() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SDKClient ¶
type SDKClient struct {
// contains filtered or unexported fields
}
SDKClient object
func NewSDKClient ¶
NewSDKClient init sdk client
Click to show internal directories.
Click to hide internal directories.