grpc

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: AGPL-3.0 Imports: 19 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) 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

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