warkanum
8504b6d13d
fix(staticweb): add nil check to WithStripPrefix helper
...
Prevent panic when WithStripPrefix is called with a nil provider by
using reflection to check for typed nil pointers stored in interfaces.
2026-01-03 14:47:21 +02:00
warkanum
2017465cb8
feat(staticweb): add path prefix stripping to all filesystem providers
...
Add PrefixStrippingProvider interface and implement it in all providers
(EmbedFSProvider, LocalFSProvider, ZipFSProvider) to support serving
files from subdirectories at the root level.
2026-01-03 14:39:51 +02:00
warkanum
d33747c2d3
feat(staticweb): add path prefix stripping to EmbedFSProvider
...
Adds WithStripPrefix method to allow serving files from subdirectories
at the root path. For example, files at /dist/assets can be made
accessible via /assets by calling WithStripPrefix("/dist").
2026-01-03 14:25:04 +02:00
warkanum
c864aa4d90
perf(config): avoid copying structs in server validation loop
...
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -24m8s
Build , Vet Test, and Lint / Lint Code (push) Successful in -24m1s
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in 3m8s
Tests / Unit Tests (push) Successful in -25m22s
Build , Vet Test, and Lint / Build (push) Successful in -25m1s
Tests / Integration Tests (push) Failing after 1m38s
- Use indexing instead of range value to prevent 208 byte copies per iteration
2026-01-03 01:50:56 +02:00
warkanum
250fcf686c
feat(config): add multiple server instances support
...
- Add ServersConfig and ServerInstanceConfig structs
- Support configuring multiple named server instances
- Add global timeout defaults with per-instance overrides
- Add TLS configuration options (SSL cert/key, self-signed, AutoTLS)
- Add validation for server configurations
- Add helper methods for applying defaults and getting default server
- Add conversion helper to avoid import cycles
2026-01-03 01:48:42 +02:00
warkanum
47cfc4b3da
feat(config): ✨ Add PopulateFromDSN method to parse connection DSN
2026-01-02 23:23:20 +02:00
warkanum
0e8ae75daf
feat(config): ✨ Add SetConfig method to Manager
2026-01-02 23:21:27 +02:00
warkanum
ce092d1c62
feat(config): ✨ Add default database manager configuration
2026-01-02 23:01:43 +02:00
warkanum
871dd2e374
feat(config): ✨ Add SaveConfig method to persist configuration
2026-01-02 22:51:19 +02:00
warkanum
037bd4c05e
chore: 🦺 actions updated
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -25m45s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -25m23s
Build , Vet Test, and Lint / Lint Code (push) Successful in -25m16s
Build , Vet Test, and Lint / Build (push) Successful in -25m28s
Tests / Unit Tests (push) Successful in -25m45s
Tests / Integration Tests (push) Failing after -25m51s
2025-12-31 19:23:09 +02:00
warkanum
8f83e8fdc1
Merge branch 'main' of github.com:bitechdev/ResolveSpec into server
2025-12-28 09:07:05 +02:00
warkanum
4d1b8b6982
Work on server
2025-12-20 10:42:51 +02:00
warkanum
399cea9335
Updated Database Interface, Added Bun Support
2025-08-14 22:36:04 +02:00
warkanum
2ac0404222
Request interfaces
2025-01-09 08:20:02 +02:00
warkanum
6dd6abb2e8
More clientside ideas
2025-01-09 00:00:09 +02:00
warkanum
f284e55a5c
Initial Spec done. More work to do. Need to bring in Argitek designs
2025-01-08 23:45:53 +02:00