Help us shape the future of Go! Take the 2026 Go Developer Survey

grpc

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: AGPL-3.0 Imports: 20 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 for the changes API

func NewHandler added in v1.0.1

func NewHandler(ctx context.Context) *Handler

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

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