Documentation ¶
Index ¶
- Constants
- type IMyClient
- type MyRestClient
- func (c *MyRestClient) Configure(config *cconf.ConfigParams)
- func (c *MyRestClient) GetCaCert() (*x509.CertPool, error)
- func (c *MyRestClient) GetCertificates() ([]tls.Certificate, error)
- func (c *MyRestClient) GetClientAuthType() tls.ClientAuthType
- func (c *MyRestClient) SayHello(correlationId string, name string) (result string, err error)
Constants ¶
View Source
const ( REST_CLIENT_CONFIG = "rest_client_config" CLIENT_AUTH_TYPE = "client_auth_type" CERTS_CA = "ssl_ca_file" CERTS_CRT = "ssl_crt_file" CERTS_KEY = "ssl_key_file" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyRestClient ¶
type MyRestClient struct { *clients.RestClient // contains filtered or unexported fields }
func NewMyRestClient ¶
func NewMyRestClient() *MyRestClient
func (*MyRestClient) Configure ¶
func (c *MyRestClient) Configure(config *cconf.ConfigParams)
func (*MyRestClient) GetCertificates ¶
func (c *MyRestClient) GetCertificates() ([]tls.Certificate, error)
func (*MyRestClient) GetClientAuthType ¶
func (c *MyRestClient) GetClientAuthType() tls.ClientAuthType
Click to show internal directories.
Click to hide internal directories.