Versions in this module Expand all Collapse all v1 v1.5.0 Oct 24, 2022 Changes in this version + var ErrUnHealthyUpStream = errors.New("grpc response body is no healthy upstream") + type NewClientFunc (func(*grpc.ClientConn) interface{}) + type StubExt struct + Authority string + CallTimeout time.Duration + Clients map[string]interface{} + ConnTimeout time.Duration + DialOptions []grpc.DialOption + Host string + Metadata map[string]string + Mocked bool + NS string + NewClientFuncs map[string]NewClientFunc + Port uint16 + RetryBackoff time.Duration + RetryCodes []codes.Code + RetryTimes uint + func (d *StubExt) Application() *gobay.Application + func (d *StubExt) Close() error + func (d *StubExt) GetConn(userOpts ...grpc.DialOption) (*grpc.ClientConn, error) + func (d *StubExt) GetCtx(ctx context.Context) context.Context + func (d *StubExt) Init(app *gobay.Application) error + func (d *StubExt) Object() interface{}