Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewGreeterService, dao.ProviderSet, speaker.NewSpeaker, wire.Bind(new(ISpeaker), new(*speaker.Speaker)), wire.Bind(new(speaker.DAO), new(*dao.DAO)), )
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type GreeterService ¶
type GreeterService struct { v1.UnimplementedGoodBabyServer // contains filtered or unexported fields }
GreeterService is a greeter service.
func NewGreeterService ¶
func NewGreeterService(logger log.Logger, speaker ISpeaker) *GreeterService
NewGreeterService new a greeter service.
func (*GreeterService) IncreaseScore ¶
func (s *GreeterService) IncreaseScore(ctx context.Context, request *v1.IncreaseScoreRequest) (*v1.IncreaseScoreReply, error)
Click to show internal directories.
Click to hide internal directories.