Documentation ¶
Index ¶
- func AvroDecode(schema, data []byte) ([]byte, error)
- func AvroDecodeWithSchemaFile(schemaPath string, data []byte) ([]byte, error)
- func AvroEncode(schema, data []byte) ([]byte, error)
- func AvroEncodeWithSchemaFile(schemaPath string, data []byte) ([]byte, error)
- func DecodeThrift(dirs []string, structName string, message []byte) ([]byte, error)
- func TruncateRepoArchiveDirectory(files map[string]string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvroDecode ¶
AvroDecode takes in a path to a AVRO schema file, and binary encoded data and returns the plain JSON representation
func AvroDecodeWithSchemaFile ¶ added in v1.0.0
func AvroEncode ¶
func AvroEncodeWithSchemaFile ¶ added in v1.0.0
func DecodeThrift ¶ added in v1.13.0
DecodeThrift decodes a thrift message with the given structName utilizing .thrift IDL files found in dirs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.