grpc

package
v0.35.3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

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