grpc

package
v5.0.0-...-2679821 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleClean

func HandleClean(ctx context.Context, msg *idm.ChangeEvent, srvName string) error

Types

type Cleaner

type Cleaner struct{}

Cleaner cleans bookmarks on user deletion

type Handler

Handler definition.

func NewHandler

func NewHandler(ctx context.Context) *Handler

func (*Handler) ListUserMetaNamespace

ListUserMetaNamespace List all namespaces from underlying DAO.

func (*Handler) ModifyLogin

func (*Handler) ReadNodeStream

func (h *Handler) ReadNodeStream(stream tree.NodeProviderStreamer_ReadNodeStreamServer) error

ReadNodeStream Implements ReadNodeStream to be a meta provider.

func (*Handler) SearchUserMeta

func (h *Handler) SearchUserMeta(request *idm.SearchUserMetaRequest, stream idm.UserMetaService_SearchUserMetaServer) error

SearchUserMeta retrieves meta based on various criteria.

func (*Handler) Stop

func (h *Handler) Stop()

func (*Handler) UpdateUserMeta

func (h *Handler) UpdateUserMeta(ctx context.Context, request *idm.UpdateUserMetaRequest) (*idm.UpdateUserMetaResponse, error)

UpdateUserMeta adds, updates or deletes user meta.

func (*Handler) UpdateUserMetaNamespace

func (h *Handler) UpdateUserMetaNamespace(ctx context.Context, request *idm.UpdateUserMetaNamespaceRequest) (*idm.UpdateUserMetaNamespaceResponse, error)

UpdateUserMetaNamespace Update/Delete a namespace.

Directories

Path Synopsis
Package service provides a GRPC persistence layer for user-defined metadata
Package service provides a GRPC persistence layer for user-defined metadata

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL