Fix Go-Kit test (#25)
This commit is contained in:
@@ -14,13 +14,12 @@ import (
|
||||
// avoid import errors
|
||||
var _ = fmt.Errorf
|
||||
|
||||
func MakeGRPCServer(ctx context.Context, endpoints endpoints.Endpoints) pb.SessionServiceServer {
|
||||
func MakeGRPCServer(endpoints endpoints.Endpoints) pb.SessionServiceServer {
|
||||
var options []grpctransport.ServerOption
|
||||
_ = options
|
||||
return &grpcServer{
|
||||
|
||||
login: grpctransport.NewServer(
|
||||
ctx,
|
||||
endpoints.LoginEndpoint,
|
||||
decodeRequest,
|
||||
encodeLoginResponse,
|
||||
|
Reference in New Issue
Block a user