Documentation
¶
Index ¶
- type ExampleService
- func (s *ExampleService) CreateExample(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)
- func (s *ExampleService) DeleteExample(ctx context.Context, in *example.SearchRequest) (out *emptypb.Empty, err error)
- func (s *ExampleService) GetExample(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)
- func (s *ExampleService) ListExamples(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)
- func (s *ExampleService) UpdateExample(ctx context.Context, in *example.SearchRequest) (out *example.SearchResponse, err error)
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.
Click to show internal directories.
Click to hide internal directories.