devicestate

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package devicestate owns consistent device removal shared by user and admin entry points. Redis generations revoke sessions; the database transaction removes both copies of the device identity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, store Store, client *redis.Client, id, ownerID int64) (*user.Device, error)

Types

type Store added in v1.20.3

type Store interface {
	repository.IdentityTransactor
}

Store is the persistence capability required by this package. It excludes unrelated repositories and application-wide transactions.

Jump to

Keyboard shortcuts

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