grpc

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealthHandler

func NewHealthHandler() grpchealth.HealthServer

func NewService

func NewService(opts ServiceOpts) (interfaces.Service, error)

func UnaryInterceptor

func UnaryInterceptor() grpc.ServerOption

UnaryInterceptor returns the unary interceptor

Types

type ServiceOpts

type ServiceOpts struct {
	Port           int
	IdentitySvc    *application.IdentityService
	TLSKeyPath     string
	TLSCertPath    string
	RequestTimeout int
	RequestSize    int
}

Jump to

Keyboard shortcuts

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