exampleservice

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 4 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 (e *ExampleService) CreateExample(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)

CreateExample implements tutorial.ExampleService.CreateExample.

func (*ExampleService) DeleteExamples

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

DeleteExamples implements tutorial.ExampleService.DeleteExamples.

func (*ExampleService) GetExample

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

GetExample implements tutorial.ExampleService.GetExample.

func (*ExampleService) ListExamples

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

ListExamples implements tutorial.ExampleService.ListExamples.

Jump to

Keyboard shortcuts

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