thriftarg2test

package
v1.22.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildKVBuffer

func BuildKVBuffer(kv map[string]string) []byte

BuildKVBuffer builds an thrift Arg2 KV buffer.

func MustReadKVBuffer added in v1.20.0

func MustReadKVBuffer(tb testing.TB, b []byte) map[string]string

MustReadKVBuffer calls require.NoError on the error returned by ReadKVBuffer

func ReadKVBuffer added in v1.20.0

func ReadKVBuffer(b []byte) (map[string]string, error)

ReadKVBuffer converts an arg2 buffer to a string map

Types

This section is empty.

Jump to

Keyboard shortcuts

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