Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrServerClientSettingsAreNotSet = "server client settings are not set" ErrShortNameIsNotSet = "short name is not set" )
View Source
const ( UrlSchemeHttp = "http" UrlSchemeHttps = "https" )
View Source
const ( FuncPing = "Ping" FuncShowDiagnosticData = "ShowDiagnosticData" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(shortName string, dsn string, enableSelfSignedCertificate bool) (client *Client, err error)
NewClient is a constructor of an RPC client. Port in DSN must be explicitly set.
func NewClientWithSCS ¶
func NewClientWithSCS(scs *cs.ServiceClientSettings, shortName string) (serviceClient *Client, err error)
func (*Client) MakeRequest ¶
Click to show internal directories.
Click to hide internal directories.