grpc

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerWithSDKErrors

type ServerWithSDKErrors struct {
	grpc.Server
	Err    *errors.Error
	Logger func(ctx types.Context) log.Logger
}

ServerWithSDKErrors wraps around a grpc server to return registered errors

func (ServerWithSDKErrors) RegisterService

func (r ServerWithSDKErrors) RegisterService(sd *grpc2.ServiceDesc, server interface{})

RegisterService ensures that every server method that gets registered returns a registered error

Jump to

Keyboard shortcuts

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