grpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterResync

func RegisterResync(ctx context.Context) error

Types

type Handler

type Handler struct{}

Handler to GRPC interface to changes API

func (Handler) OnTreeEvent

func (h Handler) OnTreeEvent(ctx context.Context, event *tree.NodeChangeEvent) error

OnTreeEvent receives events about node changes from the router

func (Handler) Put

Put a change in the service storage

func (Handler) Search

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

Jump to

Keyboard shortcuts

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