func (s Service) Register(r *grpc.Server) {
	server := &Server{
		objectStore: s.store,
	}
	topoapi.RegisterTopoServer(r, server)
}
Register registers the Service with the gRPC server.
package northbound
import (
	"context"
	"fmt"
	"sort"
	"github.com/onosproject/onos-lib-go/pkg/errors"
	topoapi "github.com/onosproject/onos-api/go/onos/topo"
	"github.com/onosproject/onos-lib-go/pkg/logging"
	"github.com/onosproject/onos-lib-go/pkg/northbound"
	"github.com/onosproject/onos-topo/pkg/store"
	"google.golang.org/grpc"
)
var log = logging.GetLogger("northbound", "topo")
func NewService(store store.Store) northbound.Service {
	return &Service{
		store: store,
	}
}
type Service struct {
	store store.Store
}