Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDubboResponse ¶
NewDubboResponse creates dubbo response
Types ¶
type Client ¶
type Client struct{}
Client client to generic invoke dubbo
func SingletonHTTPClient ¶
func SingletonHTTPClient() *Client
SingletonHTTPClient singleton HTTP Client
type RestMetadata ¶
type RestMetadata struct { ApplicationName string `yaml:"application_name" json:"application_name" mapstructure:"application_name"` Group string `yaml:"group" json:"group" mapstructure:"group"` Version string `yaml:"version" json:"version" mapstructure:"version"` Interface string `yaml:"interface" json:"interface" mapstructure:"interface"` Method string `yaml:"method" json:"method" mapstructure:"method"` Types []string `yaml:"type" json:"types" mapstructure:"types"` Retries string `yaml:"retries" json:"retries,omitempty" property:"retries"` ClusterName string `yaml:"cluster_name" json:"cluster_name,omitempty" property:"cluster_name"` ProtocolTypeStr string `yaml:"protocol_type" json:"protocol_type,omitempty" property:"protocol_type"` SerializationTypeStr string `yaml:"serialization_type" json:"serialization_type,omitempty" property:"serialization_type"` }
RestMetadata http metadata, api config
Click to show internal directories.
Click to hide internal directories.