func (s *fileServer) Ping(ctx context.Context, in *pb.PingRequest) (out *pb.PingReply, err error) {
	log.Info("recv Ping")
	return &pb.PingReply{Name: s.name}, nil
}
SayHello implements helloworld.GreeterServer
package server
import (
	"bytes"
	"github.com/fsnotify/fsnotify"
	"github.com/kr/binarydist"
	"github.com/pkg/errors"
	"github.com/wangkechun/vv/pkg/editor"
	"github.com/wangkechun/vv/pkg/header"
	pb "github.com/wangkechun/vv/pkg/proto"
	context "golang.org/x/net/context"
	"google.golang.org/grpc"
	"google.golang.org/grpc/codes"
	"google.golang.org/grpc/reflection"
	"io/ioutil"
	"net"
	"os"
	"os/exec"
	"path/filepath"
	"qiniupkg.com/x/log.v7"
	"time"
)
const splitFileSize = 1024 * 100
const defaultConnectionNum = 1
type fileServer struct {
	name string
}