grpc

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 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 {
	// contains filtered or unexported fields
}

Handler to GRPC interface to changes API

func NewHandler added in v1.0.1

func NewHandler(ctx context.Context) *Handler

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