readsession

package
v0.0.0-...-4d14c86 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoSession = errors.New("not logged in, or the session expired")

Functions

func Process

func Process(ctx context.Context, db bun.IDB, token string) *run

Process finds the account of a session token, and starts its lifetime again: a device in use stays logged in. It loads the key of the account: its notes open from then on.

Types

This section is empty.

Jump to

Keyboard shortcuts

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