Remove units

This commit is contained in:
2015-02-10 02:47:23 +07:00
parent 6c8fd03a69
commit 5d41d0f85f
6 changed files with 0 additions and 132 deletions
-26
View File
@@ -1,26 +0,0 @@
package core
import (
"code.google.com/p/go.net/context"
"github.com/localhots/yeast/units/aggregator"
"github.com/localhots/yeast/units/logger"
"github.com/localhots/yeast/units/power"
"github.com/localhots/yeast/units/sleep"
"github.com/localhots/yeast/units/uuid"
)
type (
UnitsDict map[string]func(context.Context) context.Context
)
var (
Units = UnitsDict{
"aggregator": aggregator.Call,
"logger": logger.Call,
"power2": power.Power2,
"power3": power.Power3,
"power5": power.Power5,
"sleep": sleep.Call,
"uuid": uuid.Call,
}
)