Comments (1)
I thought about this when designing the queue, and I ended up using a byte slice because I couldn't figure out beforehand how people would use this. It's always possible to delegate much of the (de)serialization to helpers.
But I think it could be interesting to explore this from an approach of not changing the existing implementation, but instead adding it on top, like a TypedQueue
or something like that, with essentially the same interface. Then people would be free to choose from the low-level interface or the higher-level generics version.
from goqite.
Related Issues (20)
- Create indexes on table
- Fix timing-dependent flaky tests
- Accept interface in handler instead of Queue
- Add Handle convenience function?
- Add HTTP Go client
- Add method to get dead messages
- Add stats method
- Use prepared statements
- feature request: add other db drivers HOT 5
- Check connection pool settings in benchmark
- Possible performance issue, with cause and solution included. HOT 2
- Consider adding a pub/sub mechanism
- Add Abort? HOT 1
- Report id of database row inserted by Send. HOT 15
- Don't panic when encountering an unregistered job HOT 4
- Feature request: Optionally specify a time or duration to delay execution of a task HOT 1
- Feature request: Add options for job retention
- Suggestion: Update Create Table to be Create Table If Not Exists HOT 2
- Delivery delay mechanism HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goqite.