Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewShorturlService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type GreeterService ¶
type GreeterService struct { v1.UnimplementedGreeterServer // contains filtered or unexported fields }
GreeterService is a greeter service.
func NewGreeterService ¶
func NewGreeterService(uc *biz.GreeterUsecase) *GreeterService
NewGreeterService new a greeter service.
func (*GreeterService) SayHello ¶
func (s *GreeterService) SayHello(ctx context.Context, in *v1.HelloRequest) (*v1.HelloReply, error)
SayHello implements helloworld.GreeterServer.
type ShorturlService ¶
type ShorturlService struct { v1.UnimplementedShorturlServer // contains filtered or unexported fields }
ShorturlService is a Shorturl service.
func NewShorturlService ¶
func NewShorturlService(uc *biz.ShorturlUsecase) *ShorturlService
NewShorturlService new a Shorturl service.
func (*ShorturlService) GetLongurl ¶
func (svc *ShorturlService) GetLongurl(ctx context.Context, req *v1.GetLongurlRequest) (*v1.GetLongurlReply, error)
func (*ShorturlService) GetShorturl ¶
func (svc *ShorturlService) GetShorturl(ctx context.Context, req *v1.GetShorturlRequest) (*v1.GetShorturlReply, error)
Click to show internal directories.
Click to hide internal directories.