thrift

package
v0.0.0-...-a4d875f Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeThriftFooRequest

func DecodeThriftFooRequest(r *thriftTestThrift.FooRequest) (req endpoints.FooRequest, err error)

DecodeThriftFooRequest is a func that converts a thrift request to a user-domain request. Primarily useful in a server. TODO: Do not forget to implement the decoder.

func EncodeThriftFooResponse

func EncodeThriftFooResponse(reply interface{}) (rep thriftTestThrift.FooReply, err error)

EncodeThriftFooResponse is a func that converts a user-domain response to a thrift reply. Primarily useful in a server. TODO: Do not forget to implement the encoder.

func MakeThriftHandler

func MakeThriftHandler(ctx context.Context, endpoints endpoints.Endpoints) (req thriftTestThrift.TestThriftService)

MakeThriftHandler makes a set of endpoints available as a thrift server.

Types

This section is empty.

Directories

Path Synopsis
gen-go

Jump to

Keyboard shortcuts

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