entities

package
v0.0.0-...-c6e12e2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Passkey

type Passkey struct {
	bun.BaseModel `bun:"table:passkeys,select:active_passkeys"`

	ID        uuid.UUID `bun:"id,pk,type:uuid"`
	Namespace string    `bun:"namespace,pk"`

	EncryptedKey string                 `bun:"encrypted_key"`
	Reward       map[string]interface{} `bun:"reward"`

	ExpiresAt *time.Time `bun:"expires_at"`
	CreatedAt time.Time  `bun:"created_at"`
	UpdatedAt *time.Time `bun:"updated_at"`
}

Jump to

Keyboard shortcuts

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