Create worker module.
This commit is contained in:
19
worker.go
Normal file
19
worker.go
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
package honeybee
|
||||||
|
|
||||||
|
// Types
|
||||||
|
|
||||||
|
// Worker Implementation
|
||||||
|
|
||||||
|
type Worker interface{}
|
||||||
|
|
||||||
|
// Base Struct
|
||||||
|
|
||||||
|
type worker struct{}
|
||||||
|
|
||||||
|
// Initiator Worker
|
||||||
|
|
||||||
|
type InitiatorWorker struct{}
|
||||||
|
|
||||||
|
// Responder Worker
|
||||||
|
|
||||||
|
type ResponderWorker struct{}
|
||||||
1
worker_test.go
Normal file
1
worker_test.go
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package honeybee
|
||||||
Reference in New Issue
Block a user