models

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptedFile

type EncryptedFile struct {
	ID          string `json:"id"`
	PhraseHash  string `json:"phrase_hash"`
	FileName    string `json:"file_name"`
	ContentType string `json:"content_type"`
	FileData    string `json:"file_data"` // PocketBase file field
	Created     string `json:"created"`
	Updated     string `json:"updated"`
}

EncryptedFile represents the structure for encrypted file metadata This is used for reference only - PocketBase handles the actual data storage

type Note

type Note struct {
	ID        string `json:"id"`
	Phrase    string `json:"phrase"`
	Message   string `json:"message"`
	ImageHash string `json:"image_hash"`
	Created   string `json:"created"`
	Updated   string `json:"updated"`
}

Note represents the structure for note data This is used for reference only - PocketBase handles the actual data storage

Jump to

Keyboard shortcuts

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