Rename to Shezmu

This commit is contained in:
2016-01-24 19:49:57 +03:00
parent c5f995035a
commit bb750bf727
12 changed files with 44 additions and 44 deletions
+3 -3
View File
@@ -4,12 +4,12 @@ import (
"math/rand"
"time"
"github.com/localhots/satan"
"github.com/localhots/shezmu"
)
// NumberPrinter is a daemon that prints numbers once in a while.
type NumberPrinter struct {
satan.BaseDaemon
shezmu.BaseDaemon
}
// Startup sets up panic handler and starts enqueuing number printing jobs.
@@ -33,7 +33,7 @@ func (n *NumberPrinter) generateNumbers() {
}
}
func (n *NumberPrinter) makeActor(num int) satan.Actor {
func (n *NumberPrinter) makeActor(num int) shezmu.Actor {
return func() {
n.Log("Number printer says:", num)
+2 -2
View File
@@ -3,12 +3,12 @@ package daemons
import (
"time"
"github.com/localhots/satan"
"github.com/localhots/shezmu"
)
// PriceConsumer consumes price update messages and prints them to the console.
type PriceConsumer struct {
satan.BaseDaemon
shezmu.BaseDaemon
}
// PriceUpdate describes a price update message.