Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2023 Changes in this version + var SetUpRestHandler = func(srv *Service) (http.Handler, apiutil.APIServiceGroup) + func NewService(svr bs.Server) registry.RegistrableService + type ClusterIDProvider interface + ClusterID func() uint64 + type Manager struct + func NewManager(srv bs.Server) *Manager + func (m *Manager) ClusterID() uint64 + func (m *Manager) GetClient() *clientv3.Client + type Service struct + func (s *Service) Get(ctx context.Context, req *meta_storagepb.GetRequest) (*meta_storagepb.GetResponse, error) + func (s *Service) Put(ctx context.Context, req *meta_storagepb.PutRequest) (*meta_storagepb.PutResponse, error) + func (s *Service) RegisterGRPCService(g *grpc.Server) + func (s *Service) RegisterRESTHandler(userDefineHandlers map[string]http.Handler) + func (s *Service) Watch(req *meta_storagepb.WatchRequest, ...) error