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
Click to show internal directories.
Click to hide internal directories.