in api/proto/ratis/ratis-grpc.pb.go [315:331]
func _RaftClientProtocolService_SetConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetConfigurationRequestProto)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RaftClientProtocolServiceServer).SetConfiguration(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ratis.grpc.RaftClientProtocolService/SetConfiguration",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RaftClientProtocolServiceServer).SetConfiguration(ctx, req.(*SetConfigurationRequestProto))
}
return interceptor(ctx, in, info, handler)
}