thrift

package
v0.0.0-...-1085dcf Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserializeThriftMessage

func DeserializeThriftMessage(buf *bytes.Buffer, ts thrift.TStruct) (string, thrift.TMessageType, int32, error)

DeserializeThriftMessage deserializes a Thrift-encoded byte array.

func NewThriftRequestExec

func NewThriftRequestExec(tFac thrift.TTransportFactory, clientExec ClientExecutor, cfg *thrift.TConfiguration, hosts ...string) bender.RequestExecutor

NewThriftRequestExec creates a new Thrift-based RequestExecutor.

Types

type ClientExecutor

type ClientExecutor func(interface{}, thrift.TTransport) (interface{}, error)

A ClientExecutor executes a Thrift request.

Jump to

Keyboard shortcuts

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