grpc

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 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 Server added in v1.0.0

type Server protogrpc.Server

Server alias for mocking

type ServerWithSDKErrors

type ServerWithSDKErrors struct {
	grpc.Server
	Err    *sdkerrors.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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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