service

package
v0.0.0-...-036e830 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 8 Imported by: 0

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

ExampleStreaming streams the text provided in the proto.ExampleRequest by adding the application name.

func (*ExampleService) ExampleUnary

ExampleUnary returns the text provided in the proto.ExampleRequest by adding the application name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL