Documentation
¶
Index ¶
- type Cache
- func (c *Cache) DataGet(ctx context.Context, URL string) (*db.Data, error)
- func (c *Cache) DataGetWithUser(ctx context.Context, user *db.User, URL string) (*db.Data, error)
- func (c *Cache) DataNew(ctx context.Context, user *db.User, blob []byte, public bool) (*db.Data, error)
- func (c *Cache) InviteNew(ctx context.Context, user *db.User) (*db.Invite, error)
- func (c *Cache) InviteUse(ctx context.Context, inviteID string) error
- func (c *Cache) InviteValid(ctx context.Context, inviteID string) error
- func (c *Cache) UserGet(ctx context.Context, username, password string) (*db.User, error)
- func (c *Cache) UserGetFromToken(ctx context.Context, token string) (*db.User, error)
- func (c *Cache) UserNew(ctx context.Context, username, password string) (*db.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.