func NewClient(opts ...Option) *Client {
	cl := &Client{}

	for _, o := range opts {
		o(cl)
	}

	cl.isConnected = true
	return cl
}
// NewClient construct a new mock Client.
NewClient construct a new mock Client.
// NewClient construct a new mock Client .
func NewClient(opts ...Option) *Client {
	cl := &Client{}
	for _, o := range opts {
		o(cl)
	}
	cl.isConnected = true
	return cl
}
func NewClient ( opts ... Option ) * Client { cl := & Client { } for _ , o := range opts { o ( cl ) } cl . isConnected = true return cl }
NewClient construct a new mock Client.
NewClient construct a new mock Client .