exampleservice

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 5 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 {
	example.UnimplementedExampleServiceServer
}

ExampleService implements tutorial.ExampleService.

func NewExampleService added in v0.1.3

func NewExampleService() *ExampleService

func (*ExampleService) CreateExample

func (s *ExampleService) CreateExample(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)

CreateExample implements tutorial.ExampleService.CreateExample.

func (*ExampleService) DeleteExample added in v0.1.5

func (s *ExampleService) DeleteExample(ctx context.Context, in *example.SearchRequest) (out *emptypb.Empty, err error)

DeleteExample implements tutorial.ExampleService.DeleteExample.

func (*ExampleService) GetExample

func (s *ExampleService) GetExample(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)

GetExample implements tutorial.ExampleService.GetExample.

func (*ExampleService) ListExamples

func (s *ExampleService) ListExamples(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)

ListExamples implements tutorial.ExampleService.ListExamples.

func (*ExampleService) UpdateExample added in v0.1.5

func (s *ExampleService) UpdateExample(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)

UpdateExample implements tutorial.ExampleService.UpdateExample.

Jump to

Keyboard shortcuts

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