handler

package
v0.1.328-herb-868amtyd... Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGreeter2EndpointRegistration added in v0.1.281

func AddGreeter2EndpointRegistration(builder *di.Builder)

AddGreeter2EndpointRegistration adds service to the DI container

func AddGreeterEndpointRegistration added in v0.1.281

func AddGreeterEndpointRegistration(builder *di.Builder)

AddGreeterEndpointRegistration adds service to the DI container

Types

type Service

type Service struct {
	pb.UnimplementedGreeterServerEx
	Container       di.Container                               `inject:""`
	ServiceProvider contracts_serviceprovider.IServiceProvider `inject:""`
	Request         contracts_request.IRequest                 `inject:""`
	ScopedItems     contracts_request.IItems                   `inject:""`
	ClaimsPrincipal contracts_claimsprincipal.IClaimsPrincipal `inject:""`
	Config          *contracts_config.Config                   `inject:""`
	Singleton       contracts_singleton.ISingleton             `inject:""`
	Scoped          contracts_scoped.IScoped                   `inject:""`
	Transients      []contracts_transient.ITransient           `inject:""`
	Transient       contracts_transient.ITransient             `inject:""`
	TimeNow         contracts_timeutils.TimeNow                `inject:""`
	TimeParse       contracts_timeutils.TimeParse              `inject:""`
	Time            contracts_timeutils.ITime                  `inject:""`
	TimeUtils       contracts_timeutils.ITimeUtils             `inject:""`
	KSUID           contracts_uuid.IKSUID                      `inject:""`
	GenerateUUID    contracts_lambda.GenerateUUID              `inject:""`
	GenerateUUIDs   []contracts_lambda.GenerateUUID            `inject:""`
	// contains filtered or unexported fields
}

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(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error)

SayHello implements helloworld.GreeterServer

type Service2

type Service2 struct {
	pb.UnimplementedGreeter2ServerEx

	Request         contracts_request.IRequest                 `inject:""`
	ClaimsPrincipal contracts_claimsprincipal.IClaimsPrincipal `inject:""`
	Config          *contracts_config.Config                   `inject:""`
}

Service2 ...

func (*Service2) SayHello

func (s *Service2) SayHello(ctx context.Context, 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