Commit Graph

11 Commits

Author SHA1 Message Date
63fbee6694 Fix ngx 0.5.0 API compatibility
- Update HttpModule trait implementation to match ngx 0.5.0 API
- Implement HttpModuleLocationConf as separate unsafe trait
- Fix configuration access using Module::location_conf()
- Replace ngx_null_command macro with explicit null command
- Update imports to use correct constant names
- Suppress C FFI naming convention warnings
2025-11-15 14:26:39 -08:00
b28ff2db17 Refactor into generic SQL template framework
- Replace hardcoded Person struct with dynamic column handling
- Add configurable directives: sqlite_db, sqlite_query, sqlite_template
- Support arbitrary SQL queries with any table/column structure
- Create generic execute_query() function returning dynamic JSON data
- Update handler to render templates with configurable paths
- Add build.rs for macOS dynamic linking support
- Fix handler return value to prevent 'header already sent' errors
2025-11-15 13:18:21 -08:00
b4b89d8898 chore: a fix 2025-11-15 13:13:01 -08:00
c39916ee0b chore: make more generic 2025-11-15 13:08:34 -08:00
33ca326f2d chore: ignore .DS_Store 2025-11-15 12:46:45 -08:00
7461431ff5 chore: more improvements 2025-11-15 12:38:36 -08:00
4ff2f8be9b chore: improve things 2025-11-15 12:29:40 -08:00
c209070163 feat: add basic sql uery 2025-11-14 12:33:50 -08:00
77adea7221 chore: more updates 2025-11-14 03:38:19 -08:00
dce6d6ba3b chore: update 2025-11-14 00:18:51 -08:00
4a97d20467 (init) 2025-11-13 23:20:27 -08:00