code: func (_m *APIClient) Dialer() func(context.Context) (net.Conn, error) {
  	ret := _m.Called()
  
  	var r0 func(context.Context) (net.Conn, error)
  	if rf, ok := ret.Get(0).(func() func(context.Context) (net.Conn, error)); ok {
  		r0 = rf()
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(func(context.Context) (net.Conn, error))
  		}
  	}
  
  	return r0
  }
docs: // Dialer provides a mock function with given fields: