interface.go 542 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package proxyservice

import (
	"github.com/zilliztech/milvus-distributed/internal/proto/proxypb"
	"github.com/zilliztech/milvus-distributed/internal/util/typeutil"
)

type ServiceBase = typeutil.Service

type Interface interface {
	ServiceBase
	RegisterLink() (proxypb.RegisterLinkResponse, error)
	RegisterNode(request proxypb.RegisterNodeRequest) (proxypb.RegisterNodeResponse, error)
	// TODO: i'm sure it's not a best way to keep consistency, fix me
	InvalidateCollectionMetaCache(request proxypb.InvalidateCollMetaCacheRequest) error
}