Documentation ¶
Index ¶
- func RegisterResync(ctx context.Context) error
- type Handler
- func (h Handler) Archive(ctx context.Context, req *service.Query, resp *service.StatusResponse) error
- 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 for the changes API
func NewHandler ¶ added in v1.0.1
NewHandler encapsulates a DAO that can batch-processes up to 20 inserts by second.
func (Handler) Archive ¶ added in v1.0.2
func (h Handler) Archive(ctx context.Context, req *service.Query, resp *service.StatusResponse) error
Archive change in the service storage
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.