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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	sampleconnect.UnimplementedExampleServiceHandler
	// contains filtered or unexported fields
}

Service implements tutorial.ExampleService.

func NewService

func NewService(auth *auth.Client, firestore *firestore.Client) *Service

func (*Service) CreateExample

func (s *Service) CreateExample(ctx context.Context, req *connect.Request[sample.Example]) (*connect.Response[sample.Example], error)

CreateExample implements tutorial.ExampleService.CreateExample.

func (*Service) DeleteExample

DeleteExample implements tutorial.ExampleService.DeleteExample.

func (*Service) GetExample

GetExample implements tutorial.ExampleService.GetExample.

func (*Service) ListExamples

ListExamples implements tutorial.ExampleService.ListExamples.

func (*Service) UpdateExample

func (s *Service) UpdateExample(ctx context.Context, req *connect.Request[sample.Example]) (*connect.Response[sample.Example], error)

UpdateExample implements tutorial.ExampleService.UpdateExample.

Jump to

Keyboard shortcuts

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