func NewServerWithInterface(port int, intfce string) *Server {
	return &Server{
		Port:       port,
		Interface:  intfce,
		GrpcServer: grpc.NewServer(ServerOptions...),
	}
}
NewServerWithInterface creates and returns a new Server with port and interface.
package grpcserver
import (
	"fmt"
	"net"
	"time"
	"google.golang.org/grpc"
	"google.golang.org/grpc/keepalive"
	"google.golang.org/grpc/reflection"
	"github.com/spacemeshos/go-spacemesh/log"
)
type ServiceAPI interface {
	RegisterService(*Server)
}
type Server struct {
	Port       int
	Interface  string
	GrpcServer *grpc.Server
}