Documentation ¶
Index ¶
- type TreeHandler
- func (t *TreeHandler) CreateNode(ctx context.Context, req *tree.CreateNodeRequest, ...) error
- func (t *TreeHandler) CreateNodeStream(ctx context.Context, s tree.NodeReceiverStream_CreateNodeStreamStream) error
- func (t *TreeHandler) DeleteNode(ctx context.Context, req *tree.DeleteNodeRequest, ...) error
- func (t *TreeHandler) DeleteNodeStream(context.Context, tree.NodeReceiverStream_DeleteNodeStreamStream) error
- func (t *TreeHandler) ListNodes(ctx context.Context, request *tree.ListNodesRequest, ...) error
- func (t *TreeHandler) ReadNode(ctx context.Context, request *tree.ReadNodeRequest, ...) error
- func (t *TreeHandler) ReadNodeStream(ctx context.Context, s tree.NodeProviderStreamer_ReadNodeStreamStream) error
- func (t *TreeHandler) StreamChanges(ctx context.Context, req *tree.StreamChangesRequest, ...) error
- func (t *TreeHandler) UpdateNode(ctx context.Context, req *tree.UpdateNodeRequest, ...) error
- func (t *TreeHandler) UpdateNodeStream(context.Context, tree.NodeReceiverStream_UpdateNodeStreamStream) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TreeHandler ¶
type TreeHandler struct {
// contains filtered or unexported fields
}
func (*TreeHandler) CreateNode ¶
func (t *TreeHandler) CreateNode(ctx context.Context, req *tree.CreateNodeRequest, resp *tree.CreateNodeResponse) error
CreateNode is used for creating folders
func (*TreeHandler) CreateNodeStream ¶
func (t *TreeHandler) CreateNodeStream(ctx context.Context, s tree.NodeReceiverStream_CreateNodeStreamStream) error
func (*TreeHandler) DeleteNode ¶
func (t *TreeHandler) DeleteNode(ctx context.Context, req *tree.DeleteNodeRequest, resp *tree.DeleteNodeResponse) error
DeleteNode is used to delete nodes
func (*TreeHandler) DeleteNodeStream ¶
func (t *TreeHandler) DeleteNodeStream(context.Context, tree.NodeReceiverStream_DeleteNodeStreamStream) error
func (*TreeHandler) ListNodes ¶
func (t *TreeHandler) ListNodes(ctx context.Context, request *tree.ListNodesRequest, stream tree.NodeProvider_ListNodesStream) error
ListNodes forwards to router
func (*TreeHandler) ReadNode ¶
func (t *TreeHandler) ReadNode(ctx context.Context, request *tree.ReadNodeRequest, response *tree.ReadNodeResponse) error
ReadNode forwards to router
func (*TreeHandler) ReadNodeStream ¶
func (t *TreeHandler) ReadNodeStream(ctx context.Context, s tree.NodeProviderStreamer_ReadNodeStreamStream) error
func (*TreeHandler) StreamChanges ¶
func (t *TreeHandler) StreamChanges(ctx context.Context, req *tree.StreamChangesRequest, resp tree.NodeChangesStreamer_StreamChangesStream) error
StreamChanges sends events to the client
func (*TreeHandler) UpdateNode ¶
func (t *TreeHandler) UpdateNode(ctx context.Context, req *tree.UpdateNodeRequest, resp *tree.UpdateNodeResponse) error
UpdateNode is used for moving nodes paths
func (*TreeHandler) UpdateNodeStream ¶
func (t *TreeHandler) UpdateNodeStream(context.Context, tree.NodeReceiverStream_UpdateNodeStreamStream) error
Click to show internal directories.
Click to hide internal directories.