handler

package
v0.1.176 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddScopedIGreeter2Service added in v0.1.172

func AddScopedIGreeter2Service(builder *di.Builder)

AddScopedIGreeter2Service adds service to the DI container

func AddScopedIGreeterService added in v0.1.172

func AddScopedIGreeterService(builder *di.Builder)

AddScopedIGreeterService adds service to the DI container

Types

type Service

type Service struct {
	Request         contracts_request.IRequest                 `inject:""`
	ClaimsPrincipal contracts_claimsprincipal.IClaimsPrincipal `inject:""`
	Logger          contracts_logger.ILogger                   `inject:""`
	Config          *internal.Config                           `inject:""`
}

Service is used to implement helloworld.GreeterServer.

func (*Service) Close added in v0.1.172

func (s *Service) Close()

Close if it exists is called when the container is torn down

func (*Service) Ctor added in v0.1.172

func (s *Service) Ctor()

Ctor if it exists is called when the service is created

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 contracts_claimsprincipal.IClaimsPrincipal `inject:""`
	Logger          contracts_logger.ILogger                   `inject:""`
	Config          *internal.Config                           `inject:""`
}

Service2 ...

func (*Service2) SayHello

func (s *Service2) SayHello(in *pb.HelloRequest) (*pb.HelloReply2, error)

SayHello implements helloworld.GreeterServer

Jump to

Keyboard shortcuts

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