Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleService ¶
type ExampleService struct { proto.UnimplementedExampleServiceServer // contains filtered or unexported fields }
ExampleService is the gRPC server service for ExampleService.
func NewExampleService ¶
func NewExampleService(cfg *config.Config) *ExampleService
NewExampleService returns a new [TransformTextServiceService] instance.
func (*ExampleService) ExampleStreaming ¶
func (s *ExampleService) ExampleStreaming(stream proto.ExampleService_ExampleStreamingServer) error
ExampleStreaming streams the text provided in the proto.ExampleRequest by adding the application name.
func (*ExampleService) ExampleUnary ¶
func (s *ExampleService) ExampleUnary(ctx context.Context, in *proto.ExampleRequest) (*proto.ExampleResponse, error)
ExampleUnary returns the text provided in the proto.ExampleRequest by adding the application name.
Click to show internal directories.
Click to hide internal directories.