Documentation
¶
Index ¶
- func ExecuteVoid(r *Retrier, retryOn []wire.ErrKind, op func() *wire.WireError, ...) *wire.WireError
- func ExecuteWithResult[T any](r *Retrier, retryOn []wire.ErrKind, op func() (*T, *wire.WireError), ...) (*T, *wire.WireError)
- func WithID(id string) option
- type Client
- type ClientWire
- type Retrier
- type ServerWire
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteVoid ¶ added in v1.0.7
func ExecuteWithResult ¶ added in v1.0.7
Types ¶
type ClientWire ¶ added in v1.0.7
type ClientWire struct {
*internal.ProtobufTCPWire
}
func NewClientWire ¶ added in v1.0.7
func (*ClientWire) Close ¶ added in v1.0.7
func (cw *ClientWire) Close()
type Retrier ¶ added in v1.0.7
type Retrier struct {
// contains filtered or unexported fields
}
func NewRetrier ¶ added in v1.0.7
type ServerWire ¶ added in v1.0.7
type ServerWire struct {
*internal.ProtobufTCPWire
}
func NewServerWire ¶ added in v1.0.7
func (*ServerWire) Close ¶ added in v1.0.7
func (sw *ServerWire) Close()
Click to show internal directories.
Click to hide internal directories.