package
0.10.3
Repository: https://github.com/cloudwego/kitex.git
Documentation: pkg.go.dev

# Packages

Package test ...
Package descriptor the idl descriptor for describe the idls with golang.
Package test ...
Package test ...
Package test ...
No description provided by the author
Package test ...
No description provided by the author
No description provided by the author
Package thrift provides thrift idl parser and codec for generic call.

# Functions

BinaryThriftGeneric raw thrift binary Generic.
EnableSetFieldsForEmptyStruct enable/disable set all fields of a struct even if it is empty.
FromHTTPPbRequest parse HTTPRequest from http.Request.
FromHTTPRequest parse HTTPRequest from http.Request.
GetSeqID from thrift buffered binary.
No description provided by the author
HTTPThriftGeneric http mapping Generic.
JSONPbGeneric json mapping generic.
JSONThriftGeneric json mapping generic.
MapThriftGeneric map mapping generic Base64 codec for binary field is disabled by default.
No description provided by the author
No description provided by the author
NewPbContentProviderWithDynamicGo creates PbFileProviderWithDynamicGo from memory.
PbFileProviderWithDynamicGo.
NewThriftContentProvider builder.
NewThriftContentProviderWithDynamicGo builder.
NewThriftContentWithAbsIncludePathProvider create abs include path DescriptorProvider.
NewThriftContentWithAbsIncludePathProviderWithDynamicGo create abs include path DescriptorProvider with dynamicgo.
NewThriftFileProvider create a ThriftIDLProvider by given path and include dirs.
NewThriftFileProviderWithDynamicGo create a ThriftIDLProvider with dynamicgo by given path and include dirs.
ParseContent parses the IDL from path and content using provided includes.
ServiceInfo create a generic ServiceInfo.
SetBinaryWithBase64 enable/disable Base64 codec for binary field.
SetBinaryWithByteSlice enable/disable returning []byte for binary field.
SetSeqID is used to reset seqID for thrift payload.
UseRawBodyForHTTPResp sets whether to set body of response for http generic call into HTTPResponse.RawBody or not.
WithCustomDynamicGoConvOpts sets custom conv.Options.

# Constants

NotSetFields means disable.
SetAllFields means set all fields.
SetNonOptiontionalFields means only set required and default fields.

# Variables

No description provided by the author
No description provided by the author

# Structs

Args generic request.
Method information.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Result generic response.
ThriftContentProvider provide descriptor from contents.
ThriftContentWithAbsIncludePathProvider ...

# Interfaces

Closer is usually used to recycle resource.
DescriptorProvider provide service descriptor.
Generic ...
GetProviderOption provide options for descriptor provider.
PbDescriptorProvider provide service descriptor.
PbDescriptorProvider provide service descriptor.
Service generic service interface.
WithCodec set codec instance for Args or Result.

# Type aliases

HTTPRequest alias of descriptor HTTPRequest.
HTTPResponse alias of descriptor HTTPResponse.
JSONRequest alias of string.
SetFieldsForEmptyStructMode is a enum for EnableSetFieldsForEmptyStruct().