code: func (c *Client) NewDialer(endpoint string) func() (*grpc.ClientConn, error) {
  	return func() (*grpc.ClientConn, error) {
  		conn, err := c.NewConnection(endpoint, "")
  		if err != nil {
  			return nil, errors.WithStack(err)
  		}
  		return conn, nil
  	}
  }
docs: // NewDialer creates a new dialer from the given endpoint