Adriano Caloiaro
0105403be9
feat: add support for recovery callbacks
2024-04-16 13:52:54 -06:00
Elliot Courant
e6ece3c568
chore(log): Tweaking logging again, making everything consistent ( #101 )
2023-11-06 15:07:46 -06:00
Adriano Caloiaro
23098bcdc5
break: Move queue name into Handler
...
This goal of this change is to simplify the API. Handlers and queues
have a 1:1 mapping, so functions that receive both a `queue` and a
`handler` take two parameters when they could take only one.
2023-09-17 00:15:19 +02:00
Adriano Caloiaro
20f5b139b5
break: Rename types.Backend -> neoq.Neoq
2023-09-07 12:36:02 +02:00
Adriano Caloiaro
2ce00761c7
maint: clean up testutils/TestLogger
2023-09-07 12:36:02 +02:00
Adriano Caloiaro
72594867e5
Support job deadlines
...
Fixes #52
2023-08-28 20:01:21 +02:00
Adriano Caloiaro
631c508813
Fix memory backend support for multiple queues
...
Fixes #56
2023-08-20 10:16:45 -06:00
1c92db565b
Update slog ( #46 )
2023-04-19 17:05:43 -06:00
aaed37eeb5
Add redis support ( #44 )
2023-04-14 19:11:22 -06:00
219ea84d76
Move config.WithConnectionString -> postgres.WithConnectionString ( #43 )
2023-04-01 18:03:55 -07:00
5b6620927e
Move backends to separate packages
2023-03-01 10:34:27 -07:00
dbeb85518f
Add logger configuration options
...
- Add ConfigOption for logger configuration
- Extend Neoq interface with SetLogger()
- Remove error return value from Shutdown()
- Remove WithConfig from Neoq interface
2023-02-24 11:35:35 -07:00
Juan C. Müller
56a64d7620
Provide WithOptions instead
2023-02-23 21:38:22 -05:00
Adriano Caloiaro
93a646ae27
Add in-memory backend
...
Co-authored-by: Juan C. Müller <jcmuller@users.noreply.github.com>
2023-02-23 09:35:14 -07:00
Juan C. Müller
dd4447f3b1
Configure db
2023-02-19 18:52:37 -05:00
Adriano Caloiaro
d253b50a58
Remove *Opt suffix from WithConfig
2023-02-18 10:49:19 -08:00
Juan C. Müller
44db35bda9
Pass in contexts
2023-02-17 23:06:03 -05:00
Adriano Caloiaro
fcc9f0ea24
Fix examples and remove 'sslmode' from default connect string
2023-02-17 16:06:04 -08:00
Adriano Caloiaro
9dff9f241c
Refactor: separate neoq core from backends
...
- API now supports user-supplied backends when calling neoq.New()
- Separated postgres backend code from core API
2023-02-17 15:50:03 -08:00
Adriano Caloiaro
f1f5ea2988
Add periodic job support
2023-02-17 11:29:06 -08:00
Adriano Caloiaro
0984795a16
Refactor Handler WithOption function names
2023-02-17 09:40:01 -08:00
Adriano Caloiaro
3a1dbe093b
improve logging functionality
2023-02-16 15:15:39 -08:00
Adriano Caloiaro
ad6f6c0387
Initial commit
2023-02-13 15:35:55 -08:00