Documentation ¶
Index ¶
- func NewTLSClientWithCaCertificate(caCert string, ipAddress string, port string, logger log.Logger) common.RestClient
- func NewTLSClientWithKeyCertificate(cert string, key string, ipAddress string, port string, logger log.Logger) common.RestClient
- func NewTLSRestServer(logger log.Logger) common.RestServer
- func NewTLSRestServerHandler(handler server.TLSHandleFunc, logger log.Logger) common.RestServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTLSClientWithCaCertificate ¶
func NewTLSClientWithCaCertificate(caCert string, ipAddress string, port string, logger log.Logger) common.RestClient
Generate New TLS Client using CA Certificate file
func NewTLSClientWithKeyCertificate ¶
func NewTLSClientWithKeyCertificate(cert string, key string, ipAddress string, port string, logger log.Logger) common.RestClient
Generate New TLS Client using Key and Certificate file
func NewTLSRestServer ¶
func NewTLSRestServer(logger log.Logger) common.RestServer
Generate New TLS Server
func NewTLSRestServerHandler ¶
func NewTLSRestServerHandler(handler server.TLSHandleFunc, logger log.Logger) common.RestServer
Generate New TLS Server using CA Certificate file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.