mirror of
https://github.com/btouchard/ackify-ce.git
synced 2026-02-10 07:49:38 -06:00
Add complete Go application for cryptographic document signature validation with OAuth2 authentication, Ed25519 signatures, and PostgreSQL storage following clean architecture principles.
14 lines
478 B
Go
14 lines
478 B
Go
package models
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrSignatureNotFound = errors.New("signature not found")
|
|
ErrSignatureAlreadyExists = errors.New("signature already exists")
|
|
ErrInvalidUser = errors.New("invalid user")
|
|
ErrInvalidDocument = errors.New("invalid document ID")
|
|
ErrDatabaseConnection = errors.New("database connection error")
|
|
ErrUnauthorized = errors.New("unauthorized")
|
|
ErrDomainNotAllowed = errors.New("domain not allowed")
|
|
)
|