forked from mirrors/homebox
refactor server to support variable options
This commit is contained in:
parent
245591cb23
commit
1143246816
6 changed files with 89 additions and 21 deletions
|
@ -1,5 +1,7 @@
|
|||
package server
|
||||
|
||||
// TODO: #2 Implement Go routine pool/job queue
|
||||
|
||||
type Worker interface {
|
||||
Add(func())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue