Documentation
¶
Index ¶
- type EchoService
- type GreeterService
- func (s *GreeterService) Greet(ctx context.Context, req *connect.Request[v1.GreetRequest]) (*connect.Response[v1.GreetResponse], error)
- func (s *GreeterService) GreetDidiStreaming(ctx context.Context, ...) error
- func (s *GreeterService) GreetStreaming(ctx context.Context, stream *connect.ClientStream[v1.GreetStreamingRequest]) (*connect.Response[v1.GreetStreamingResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoService ¶
type EchoService struct{}
func (*EchoService) Echo ¶
func (s *EchoService) Echo(ctx context.Context, req *connect.Request[v1.EchoRequest]) (*connect.Response[v1.EchoResponse], error)
type GreeterService ¶
type GreeterService struct {
Validator *protovalidate.Validator
}
func (*GreeterService) Greet ¶
func (s *GreeterService) Greet(ctx context.Context, req *connect.Request[v1.GreetRequest]) (*connect.Response[v1.GreetResponse], error)
func (*GreeterService) GreetDidiStreaming ¶
func (s *GreeterService) GreetDidiStreaming(ctx context.Context, stream *connect.BidiStream[v1.GreetDidiStreamingRequest, v1.GreetDidiStreamingResponse]) error
func (*GreeterService) GreetStreaming ¶
func (s *GreeterService) GreetStreaming(ctx context.Context, stream *connect.ClientStream[v1.GreetStreamingRequest]) (*connect.Response[v1.GreetStreamingResponse], error)
Click to show internal directories.
Click to hide internal directories.