You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
273 B
Go
20 lines
273 B
Go
8 years ago
|
package ent
|
||
|
|
||
|
import (
|
||
|
"github.com/golang/protobuf/proto"
|
||
|
|
||
|
"github.com/jordanorelli/hyperstone/bit"
|
||
|
)
|
||
|
|
||
|
type Env struct {
|
||
|
source bit.BufReader
|
||
|
}
|
||
|
|
||
|
func (e *Env) Handle(m proto.Message) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (e *Env) setSource(buf []byte) {
|
||
|
e.source.SetSource(buf)
|
||
|
}
|