Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGreeter2Service ¶
AddGreeter2Service adds service to the DI container
func AddGreeterService ¶
AddGreeterService adds service to the DI container
Types ¶
type Service ¶
type Service struct { Request contracts_request.IRequest `inject:""` ClaimsPrincipal claimsprincipalContracts.IClaimsPrincipal `inject:""` Logger loggerContracts.ILogger `inject:""` Config *internal.Config `inject:""` }
Service is used to implement helloworld.GreeterServer.
func (*Service) SayHello ¶
func (s *Service) SayHello(in *pb.HelloRequest) (*pb.HelloReply, error)
SayHello implements helloworld.GreeterServer
type Service2 ¶
type Service2 struct { Request contracts_request.IRequest `inject:""` ClaimsPrincipal claimsprincipalContracts.IClaimsPrincipal `inject:""` Logger loggerContracts.ILogger `inject:""` Config *internal.Config `inject:""` }
Service2 ...
func (*Service2) SayHello ¶
func (s *Service2) SayHello(in *pb.HelloRequest) (*pb.HelloReply2, error)
SayHello implements helloworld.GreeterServer
Click to show internal directories.
Click to hide internal directories.