Documentation ¶
Index ¶
- func RegisterResync(ctx context.Context) error
- type Handler
- func (h Handler) OnTreeEvent(ctx context.Context, event *tree.NodeChangeEvent) error
- func (h Handler) Put(ctx context.Context, stream tree.SyncChanges_PutStream) error
- func (h Handler) Search(ctx context.Context, req *tree.SearchSyncChangeRequest, ...) error
- func (h Handler) TriggerResync(ctx context.Context, req *sync.ResyncRequest, resp *sync.ResyncResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterResync ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler to GRPC interface to changes API
func NewHandler ¶ added in v1.0.1
func (Handler) OnTreeEvent ¶
OnTreeEvent receives events about node changes from the router
func (Handler) Search ¶
func (h Handler) Search(ctx context.Context, req *tree.SearchSyncChangeRequest, stream tree.SyncChanges_SearchStream) error
Search a change in the service storage
func (Handler) TriggerResync ¶
func (h Handler) TriggerResync(ctx context.Context, req *sync.ResyncRequest, resp *sync.ResyncResponse) error
TriggerResync allows a resync to be triggered by the pydio client
Click to show internal directories.
Click to hide internal directories.