Documentation ¶
Overview ¶
Package httpcli contains http-based transports
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestClient ¶
type RestClient struct {
// contains filtered or unexported fields
}
func NewRestClient ¶
func NewRestClient(uri string, user, pass, pem []byte) *RestClient
func (*RestClient) Execute ¶
func (rc *RestClient) Execute(method, path string, payload map[string]string) (json.RawMessage, error)
func (*RestClient) GetSession ¶
func (rc *RestClient) GetSession() (*swagger.Login, error)
Click to show internal directories.
Click to hide internal directories.