Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultErrorConnMaxEncoder ¶
DefaultErrorConnMaxEncoder 链接数超了
Types ¶
type Client ¶
type Client struct {
Config ClientConfig
Nacos *nacos.Nacos
// contains filtered or unexported fields
}
func NewClientByServerName ¶
NewClientByServerName tcp的客户端
type ClientConfig ¶
type Response ¶
type Response struct {
Id string `json:"id"`
Success bool `json:"success"`
Code int `json:"code"`
Message string `json:"message,omitempty"`
Data any `json:"datas,omitempty"`
}
func DefaultErrorResponseMsg ¶
DefaultErrorResponseMsg 根据错误信息返回
Click to show internal directories.
Click to hide internal directories.