service

package
v0.0.0-...-305f57c Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 7 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type GreeterService

type GreeterService struct {
	// contains filtered or unexported fields
}

GreeterService is a greeter service.

func NewGreeterService

func NewGreeterService(uc *biz.GreeterUseCase, logger log.Logger, validator *protovalidate.Validator) *GreeterService

NewGreeterService new a greeter service.

func (*GreeterService) LuckySearch

func (s *GreeterService) LuckySearch(ctx context.Context, request *v1.LuckySearchRequest) (*v1.LuckySearchResponse, error)

LuckySearch implements helloworld.LuckySearch

func (*GreeterService) SayHello

func (s *GreeterService) SayHello(ctx context.Context, request *v1.SayHelloRequest) (*v1.SayHelloResponse, error)

SayHello implements helloworld.GreeterServer.

Jump to

Keyboard shortcuts

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