Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Codec ¶
Codec 编解码器接口
func StandardChainDecode ¶
StandardChainDecode 默认解码器链:base64 => decrypt => gzip
func StandardChainEncode ¶
StandardChainEncode 默认编码器链:gzip => encrypt => base64
type CodecFunc ¶
CodecFunc 编辑吗函数类型
func NewDecoderMagic ¶
NewDecoderMagic 新建一个magic decoder,指定magic字段,解码的时候会检测该字段
func NewDecoderOpenPGP ¶
NewDecoderOpenPGP 新建OpenPGP解码器,指定key
func NewEncoderMagic ¶
NewEncoderMagic magic编码器,指定magic,编码时会自动将magic添加到字段头
func NewEncoderOpenPGP ¶
NewEncoderOpenPGP OpenPGP编码器,指定key
Click to show internal directories.
Click to hide internal directories.