handler

package
v0.1.105-coverage-brea... Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGreeter2Service

func AddGreeter2Service(builder *di.Builder)

AddGreeter2Service adds service to the DI container

func AddGreeterService

func AddGreeterService(builder *di.Builder)

AddGreeterService adds service to the DI container

Types

type Service

type Service struct {
	ContextAccessor contextaccessor.IContextAccessor
	ClaimsPrincipal claimsprincipal.IClaimsPrincipal
	Logger          servicesLogger.ILogger
	// contains filtered or unexported fields
}

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 {
	ContextAccessor contextaccessor.IContextAccessor
	ClaimsPrincipal claimsprincipal.IClaimsPrincipal
	Logger          servicesLogger.ILogger
	// contains filtered or unexported fields
}

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