yeast/impl/throttler.go
Gregory Eremin 8748c22d6e Keep actor private
Also this:
core/units.go:21: impl.Impl.Call is a field, not a method
2015-02-11 01:45:13 +07:00

10 lines
138 B
Go

package impl
func Throttler() *Impl {
return &Impl{
actor: func(data []byte) (resp []byte, err error) {
return data, nil
},
}
}