code: func (_m *APIClient) DialSession(ctx context.Context, proto string, meta map[string][]string) (net.Conn, error) {
  	ret := _m.Called(ctx, proto, meta)
  
  	var r0 net.Conn
  	if rf, ok := ret.Get(0).(func(context.Context, string, map[string][]string) net.Conn); ok {
  		r0 = rf(ctx, proto, meta)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(net.Conn)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, string, map[string][]string) error); ok {
  		r1 = rf(ctx, proto, meta)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // DialSession provides a mock function with given fields: ctx, proto, meta