Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(task.TaskProvider, NewService, RegisterService)
ProviderSet
Functions ¶
func RegisterService ¶
func RegisterService(ctx context.Context, sev *Service) ginny.RegistrarFunc
RegisterService
Types ¶
type Service ¶
type Service struct { pb.UnimplementedSayServer // contains filtered or unexported fields }
Service the instance for grpc proto.
func NewService ¶
func NewService( ctx context.Context, config *config.Config, cache cache.IRedisCache, userRepository repo.IUserRepo, ) (*Service, error)
NewService new service that implement hello
Click to show internal directories.
Click to hide internal directories.