Documentation ¶
Index ¶
- type Opener
- type TreeHandler
- func (t *TreeHandler) CreateNode(ctx context.Context, req *tree.CreateNodeRequest) (*tree.CreateNodeResponse, error)
- func (t *TreeHandler) CreateNodeStream(s tree.NodeReceiverStream_CreateNodeStreamServer) error
- func (t *TreeHandler) DeleteNode(ctx context.Context, req *tree.DeleteNodeRequest) (*tree.DeleteNodeResponse, error)
- func (t *TreeHandler) DeleteNodeStream(tree.NodeReceiverStream_DeleteNodeStreamServer) error
- func (t *TreeHandler) ListNodes(request *tree.ListNodesRequest, stream tree.NodeProvider_ListNodesServer) error
- func (t *TreeHandler) Name() string
- func (t *TreeHandler) ReadNode(ctx context.Context, request *tree.ReadNodeRequest) (*tree.ReadNodeResponse, error)
- func (t *TreeHandler) ReadNodeStream(s tree.NodeProviderStreamer_ReadNodeStreamServer) error
- func (t *TreeHandler) StreamChanges(req *tree.StreamChangesRequest, s tree.NodeChangesStreamer_StreamChangesServer) error
- func (t *TreeHandler) UpdateNode(ctx context.Context, req *tree.UpdateNodeRequest) (*tree.UpdateNodeResponse, error)
- func (t *TreeHandler) UpdateNodeStream(tree.NodeReceiverStream_UpdateNodeStreamServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TreeHandler ¶
type TreeHandler struct { tree.UnimplementedNodeProviderServer tree.UnimplementedNodeReceiverServer tree.UnimplementedNodeChangesStreamerServer tree.UnimplementedNodeReceiverStreamServer tree.UnimplementedNodeProviderStreamerServer // contains filtered or unexported fields }
func (*TreeHandler) CreateNode ¶
func (t *TreeHandler) CreateNode(ctx context.Context, req *tree.CreateNodeRequest) (*tree.CreateNodeResponse, error)
CreateNode is used for creating folders
func (*TreeHandler) CreateNodeStream ¶
func (t *TreeHandler) CreateNodeStream(s tree.NodeReceiverStream_CreateNodeStreamServer) error
func (*TreeHandler) DeleteNode ¶
func (t *TreeHandler) DeleteNode(ctx context.Context, req *tree.DeleteNodeRequest) (*tree.DeleteNodeResponse, error)
DeleteNode is used to delete nodes
func (*TreeHandler) DeleteNodeStream ¶
func (t *TreeHandler) DeleteNodeStream(tree.NodeReceiverStream_DeleteNodeStreamServer) error
func (*TreeHandler) ListNodes ¶
func (t *TreeHandler) ListNodes(request *tree.ListNodesRequest, stream tree.NodeProvider_ListNodesServer) error
ListNodes forwards to router
func (*TreeHandler) Name ¶
func (t *TreeHandler) Name() string
func (*TreeHandler) ReadNode ¶
func (t *TreeHandler) ReadNode(ctx context.Context, request *tree.ReadNodeRequest) (*tree.ReadNodeResponse, error)
ReadNode forwards to router
func (*TreeHandler) ReadNodeStream ¶
func (t *TreeHandler) ReadNodeStream(s tree.NodeProviderStreamer_ReadNodeStreamServer) error
func (*TreeHandler) StreamChanges ¶
func (t *TreeHandler) StreamChanges(req *tree.StreamChangesRequest, s tree.NodeChangesStreamer_StreamChangesServer) error
StreamChanges sends events to the client
func (*TreeHandler) UpdateNode ¶
func (t *TreeHandler) UpdateNode(ctx context.Context, req *tree.UpdateNodeRequest) (*tree.UpdateNodeResponse, error)
UpdateNode is used for moving nodes paths
func (*TreeHandler) UpdateNodeStream ¶
func (t *TreeHandler) UpdateNodeStream(tree.NodeReceiverStream_UpdateNodeStreamServer) error
Click to show internal directories.
Click to hide internal directories.