app

package
v0.0.0-...-84e3b64 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

func NewAppError

func NewAppError(msg string) error

Types

type Device

type Device struct {
	UserId    string   `json:"user_id"`
	DeviceId  string   `json:"device_id"`
	TokenHash [32]byte `json:"token_hash"`
}

type Mark

type Mark struct {
	ID     string `json:"id"`
	Title  string `json:"title"`
	URL    string `json:"url"`
	UserID string `json:"user_id"`
}

type User

type User struct {
	ID           string `json:"id"`
	Email        string `json:"email"`
	PasswordHash string `json:"password_hash"`
	Active       bool   `json:"active"`
}

Jump to

Keyboard shortcuts

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