Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Cloud string `json:",options=[express100,expressBird]"` // 云服务商(当前支持 express100 和 expressBird) AppID string // 应用ID SecretKey string // 应用密钥 RequestType string `json:",optional"` // 请求指令类型(expressBird 云服务商专用,枚举 1002、8001 和 8002) }
Config 快递查询客户端配置
type Express ¶
type Express interface { // Cloud 获取云服务商名称 Cloud() string // GetExpress 获取快递物流信息 GetExpress(ctx context.Context, req *types.GetExpressRequest) (*types.GetExpressResponse, error) }
Express 快递查询客户端接口
Click to show internal directories.
Click to hide internal directories.