thrifthelpers

package
v0.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Utils for JSON and binary serialize/deserialize functions for Thrift structures

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryDeserialize

func BinaryDeserialize(targetStruct thrift.TStruct, sourceBytes []byte) (err error)

Binary behavior

func BinarySerialize

func BinarySerialize(sourceStruct thrift.TStruct) (b []byte, err error)

func JsonDeserialize

func JsonDeserialize(targetStruct thrift.TStruct, sourceBytes []byte) (err error)

Json behavior

func JsonSerialize

func JsonSerialize(sourceStruct thrift.TStruct) (b []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL