Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcLogger ¶
func GrpcLogger( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (resp interface{}, err error)
Types ¶
type ResponseRecorder ¶
type ResponseRecorder struct { http.ResponseWriter StatusCode int Body []byte }
func (*ResponseRecorder) WriteHeader ¶
func (rec *ResponseRecorder) WriteHeader(statusCode int)
type Server ¶
type Server struct { pb.UnimplementedFraudEngineServer // contains filtered or unexported fields }
Server serves gRPC requests for our banking service.
func (*Server) CreateUserWatch ¶
func (server *Server) CreateUserWatch(ctx context.Context, req *pb.CreateUserWatchRequest) (*pb.CreateUserWatchResponse, error)
Click to show internal directories.
Click to hide internal directories.