clients

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Activate

func Activate(
	ctx context.Context,
	be *backend.Backend,
	clientKey string,
) (*db.ClientInfo, error)

Activate activates the given client.

func Deactivate

func Deactivate(
	ctx context.Context,
	be *backend.Backend,
	clientID []byte,
) (*db.ClientInfo, error)

Deactivate deactivates the given client.

func FindClientAndDocument

func FindClientAndDocument(
	ctx context.Context,
	be *backend.Backend,
	clientID []byte,
	pack *change.Pack,
	createDocIfNotExist bool,
) (*db.ClientInfo, *db.DocInfo, error)

FindClientAndDocument finds the client and the document.

Types

This section is empty.

Jump to

Keyboard shortcuts

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