Versions in this module Expand all Collapse all v1 v1.1.1 Nov 6, 2020 v1.1.0 Jun 1, 2020 Changes in this version + type CompressOp interface + Compress func(data []byte) ([]byte, error) + Decompress func(data []byte) ([]byte, error) + type EncryptOp interface + Decrypt func(data []byte) ([]byte, error) + Encrypt func(data []byte) ([]byte, error) + type Message struct + Content []byte + Type uint16 + type Operation interface + Operate func(direct int8, input interface{}, output interface{}) (bool, error) + type PacketOp interface + Pack func(originData interface{}) ([]byte, error) + Unpack func(packData []byte, obj interface{}) error + type Transform interface + AddOp func(opType int8, params []interface{}) bool + Execute func(direct int8, input interface{}, output interface{}) error + Reset func()