Documentation
¶
Index ¶
- Variables
- func Activate(ctx context.Context, be *backend.Backend, clientKey string) (*db.ClientInfo, error)
- func Deactivate(ctx context.Context, be *backend.Backend, clientID db.ID) (*db.ClientInfo, error)
- func FindClientAndDocument(ctx context.Context, be *backend.Backend, clientID db.ID, docKey *key.Key, ...) (*db.ClientInfo, *db.DocInfo, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidClientKey is returned when the given Key is not valid ClientKey. ErrInvalidClientKey = errors.New("invalid client key") // ErrInvalidClientID is returned when the given Key is not valid ClientID. ErrInvalidClientID = errors.New("invalid client id") )
Functions ¶
func Activate ¶
func Activate( ctx context.Context, be *backend.Backend, clientKey string, ) (*db.ClientInfo, error)
Activate activates the given client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.