Documentation ¶
Index ¶
- type Client
- func (c *Client) Do(ctx context.Context, req *http.Request, resBody interface{}) error
- func (c *Client) Login(ctx context.Context, user *url.Userinfo) error
- func (c *Client) LoginByToken(ctx context.Context) error
- func (c *Client) Logout(ctx context.Context) error
- func (c *Client) WithSigner(ctx context.Context, s Signer) context.Context
- type Signer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client extends soap.Client to support JSON encoding, while inheriting security features, debug tracing and session persistence.
func (*Client) Login ¶
Login creates a new session via Basic Authentication with the given url.Userinfo.
func (*Client) LoginByToken ¶ added in v0.20.0
Click to show internal directories.
Click to hide internal directories.