Documentation ¶
Index ¶
Constants ¶
View Source
const ( Unknown string = "" Thrift string = "thrift" Protobuf string = "protobuf" )
Define constants for supported IDL types.
View Source
const ( TTHeader string = "TTHeader" Framed string = "Framed" TTHeaderFramed string = "TTHeaderFramed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Verbose bool Type string IDLPath string Endpoint []string IDLServiceName string Method string Data string Transport string File string // The file path of Input Meta map[string]string MetaPersistent map[string]string MetaBackward bool BizError bool ConnectTimeout string RPCTimeout string }
We provide a general configuration so that it can be utilized by others apart from kitexcall.
type ConfigBuilder ¶
type ConfigBuilder interface {
BuildConfig() Config
}
Click to show internal directories.
Click to hide internal directories.