Documentation ¶
Overview ¶
Package stream 流处理
默认包含了纯文本,JSON和YAML流的处理
Index ¶
- Constants
- Variables
- func Build(t int, v interface{}) ([]byte, error)
- func MustBuild(t int, v interface{}) []byte
- func MustParse(t int, data []byte, v interface{}) error
- func Parse(t int, data []byte, v interface{}) error
- func Raw(f string) []byte
- func RawX(f string) ([]byte, error)
- type Builder
- type Parser
Constants ¶
View Source
const ( JSONType = iota YAMLType GOBType FushinBufType ProtobufType )
Variables ¶
View Source
var JSON = jsoniter.ConfigCompatibleWithStandardLibrary
View Source
var YAML = ymlStream{}
View Source
var YML = YAML
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.