MCPcopy
hub / github.com/aceld/zinx / NewTLSClient

Function NewTLSClient

znet/client.go:113–120  ·  view source on GitHub ↗
(ip string, port int, opts ...ClientOption)

Source from the content-addressed store, hash-verified

111}
112
113func NewTLSClient(ip string, port int, opts ...ClientOption) ziface.IClient {
114
115 c, _ := NewClient(ip, port, opts...).(*Client)
116
117 c.useTLS = true
118
119 return c
120}
121
122// notify error unblock
123func (c *Client) notifyErr(err error) {

Callers 1

mainFunction · 0.92

Calls 1

NewClientFunction · 0.85

Tested by

no test coverage detected