Documentation ¶
Index ¶
- func Client(ctx context.Context, req *EchoClientReq) (*istioecho.ForwardEchoResponse, error)
- type Echo
- func (*Echo) Echo(ctx context.Context, req *connect_go.Request[istioecho.EchoRequest]) (*connect_go.Response[istioecho.EchoResponse], error)
- func (*Echo) ForwardEcho(ctx context.Context, req *connect_go.Request[istioecho.ForwardEchoRequest]) (*connect_go.Response[istioecho.ForwardEchoResponse], error)
- func (*Echo) Ping(ctx context.Context, req *connect_go.Request[fgrpc.PingMessage]) (*connect_go.Response[fgrpc.PingMessage], error)
- func (echos *Echo) RegisterMux(mux *http.ServeMux, prefix string)
- type EchoClientReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client(ctx context.Context, req *EchoClientReq) (*istioecho.ForwardEchoResponse, error)
Types ¶
type Echo ¶
type Echo struct { protoconnect.UnimplementedEchoTestServiceHandler fgrpcconnect.UnimplementedPingServerHandler }
func (*Echo) Echo ¶
func (*Echo) Echo(ctx context.Context, req *connect_go.Request[istioecho.EchoRequest]) (*connect_go.Response[istioecho.EchoResponse], error)
func (*Echo) ForwardEcho ¶
func (*Echo) ForwardEcho(ctx context.Context, req *connect_go.Request[istioecho.ForwardEchoRequest]) (*connect_go.Response[istioecho.ForwardEchoResponse], error)
func (*Echo) Ping ¶
func (*Echo) Ping(ctx context.Context, req *connect_go.Request[fgrpc.PingMessage]) (*connect_go.Response[fgrpc.PingMessage], error)
type EchoClientReq ¶
type EchoClientReq struct { Addr string Forward istioecho.ForwardEchoRequest }
Click to show internal directories.
Click to hide internal directories.