package
Version:
v0.0.0-...-680e691
Opens a new window with list of versions in this module.
Published: Jul 4, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Codec interface {
Marshal(v interface{}) ([]byte, error)
Unmarshal(data []byte, v interface{}) error
}
Codec event编解码,默认使用json
func NewJsonCodec() Codec
Source Files
¶
Click to show internal directories.
Click to hide internal directories.