mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-13 07:04:44 +08:00
优化processor
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
package processor
|
||||
|
||||
type IProcessor interface {
|
||||
//SetByteOrder(littleEndian bool)
|
||||
//SetMsgLen(lenMsgLen int, minMsgLen uint32, maxMsgLen uint32)
|
||||
|
||||
Unmarshal(data []byte) (interface{}, error)
|
||||
// must goroutine safe
|
||||
Marshal(msg interface{}) ([][]byte, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user