mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
20 lines
297 B
Go
20 lines
297 B
Go
package grpcindexnode
|
|
|
|
import (
|
|
"github.com/zilliztech/milvus-distributed/internal/indexnode"
|
|
"google.golang.org/grpc"
|
|
)
|
|
|
|
type Server struct {
|
|
node indexnode.Interface
|
|
|
|
grpcServer *grpc.Server
|
|
}
|
|
|
|
func NewGrpcServer() *Server {
|
|
ret := &Server{
|
|
node: &indexnode.IndexNode{},
|
|
}
|
|
return ret
|
|
}
|