Documentation
¶
Index ¶
- func Activate(ctx context.Context, be *backend.Backend, clientKey string) (*db.ClientInfo, error)
- func Deactivate(ctx context.Context, be *backend.Backend, clientID []byte) (*db.ClientInfo, error)
- func FindClientAndDocument(ctx context.Context, be *backend.Backend, clientID []byte, pack *change.Pack, ...) (*db.ClientInfo, *db.DocInfo, error)
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.