Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OnewayValidatorOutbound

type OnewayValidatorOutbound struct {
	transport.OnewayOutbound
	transport.Namer
}

    OnewayValidatorOutbound wraps an Outbound to validate all outgoing oneway requests.

    func (OnewayValidatorOutbound) CallOneway

    func (o OnewayValidatorOutbound) CallOneway(ctx context.Context, request *transport.Request) (transport.Ack, error)

      CallOneway performs the given request, failing early if the request is invalid.

      func (OnewayValidatorOutbound) Introspect

        Introspect returns the introspection status of the underlying outbound.

        type StreamValidatorOutbound

        type StreamValidatorOutbound struct {
        	transport.Namer
        	transport.StreamOutbound
        }

          StreamValidatorOutbound wraps an Outbound to validate all outgoing oneway requests.

          func (StreamValidatorOutbound) CallStream

            CallStream performs the given request, failing early if the request is invalid.

            func (StreamValidatorOutbound) Introspect

              Introspect returns the introspection status of the underlying outbound.

              type UnaryValidatorOutbound

              type UnaryValidatorOutbound struct {
              	transport.UnaryOutbound
              	transport.Namer
              }

                UnaryValidatorOutbound wraps an Outbound to validate all outgoing unary requests.

                func (UnaryValidatorOutbound) Call

                  Call performs the given request, failing early if the request is invalid.

                  func (UnaryValidatorOutbound) Introspect

                    Introspect returns the introspection status of the underlying outbound.