Documentation ¶
Index ¶
- type Client
- func (client *Client) Execute(request proto.Request) (promise *proto.Promise[proto.Result], err error)
- func (client *Client) ExecuteHttp(mode ClientMode, request proto.Request) (promise *proto.Promise[proto.Result])
- func (client *Client) ExecuteSync(request proto.Request) (result proto.Result, err error)
- func (client *Client) GetMode() ClientMode
- func (client *Client) GetRemote() string
- func (client *Client) GetToken() string
- func (client *Client) GetUrl(mode ClientMode) string
- func (client *Client) Open() (err error)
- type ClientMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ExecuteHttp ¶
func (*Client) ExecuteSync ¶
func (*Client) GetMode ¶
func (client *Client) GetMode() ClientMode
func (*Client) GetUrl ¶
func (client *Client) GetUrl(mode ClientMode) string
type ClientMode ¶
type ClientMode int
const ( ClientModeHttp ClientMode = iota ClientModeHttps ClientModeWs ClientModeWss )
Click to show internal directories.
Click to hide internal directories.