diff options
| author | Bobby <[email protected]> | 2026-03-07 08:52:35 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-03-07 08:52:35 +0530 |
| commit | 82409d6b83de1baab69c166af8f04c6e9fe9069f (patch) | |
| tree | 678b3ee2242b20da49c8cf1ff0ec509d0c8ef1e1 /shrine/types/hypertext/request.go | |
| parent | a97d1ad37463107b462958d92f596ebb80254b77 (diff) | |
| download | pagoda-82409d6b83de1baab69c166af8f04c6e9fe9069f.tar.xz pagoda-82409d6b83de1baab69c166af8f04c6e9fe9069f.zip | |
feat: Implement letter service with CRUD operations and message handling
- Added letter service to manage letters, including listing, creating, and editing letters and messages.
- Implemented functionality for sending and receiving messages within letters.
- Introduced pagination for letter listings and message retrieval.
- Added attachment upload capabilities for letters.
- Created detailed responses for letter and message retrieval.
feat: Introduce stats service for user statistics
- Added a service to retrieve user statistics, including newest and online citizens.
feat: Create ticket service for user support tickets
- Implemented ticket management service with functionalities to create, reply, and update tickets.
- Added support for ticket categories and their management.
feat: Add verification service for user account verification
- Implemented functionality to send verification emails for account activation.
feat: Develop warning service for user warnings
- Added service to issue warnings to users, deactivate warnings, and list user warnings.
feat: Create email templates for account status notifications
- Added HTML templates for account ban and disable notifications.
feat: Define request and response types for account, ticket, letter, and warning services
- Created structured request and response types for various services to ensure consistent data handling.
feat: Implement utility functions for authentication and sanitization
- Added functions for validating user hierarchy and sanitizing HTML input.
- Implemented token generation and hashing utilities for secure operations.
Diffstat (limited to 'shrine/types/hypertext/request.go')
| -rw-r--r-- | shrine/types/hypertext/request.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/shrine/types/hypertext/request.go b/shrine/types/hypertext/request.go new file mode 100644 index 0000000..8a46071 --- /dev/null +++ b/shrine/types/hypertext/request.go @@ -0,0 +1,17 @@ +package hypertext + +type Param struct { + Key string + Value string +} + +type Request struct { + Path string + Method string + Query []Param + Params []Param + Headers []Param + QueryString string + IP string + URL string +}
\ No newline at end of file |
