Versions in this module Expand all Collapse all v1 v1.0.33 Jul 31, 2024 v1.0.32 Jul 13, 2024 Changes in this version + const LogTable + const Version + type ApiGenerateLinkResponse struct + Data string + Des string + Status int + type ApiGenerateLinkResult struct + Body []byte + Http gorequest.Response + Result ApiGenerateLinkResponse + type ApiGetQuaLitYsCoreBySidResponse struct + Data struct{ ... } + Des string + Status int + type ApiGetQuaLitYsCoreBySidResult struct + Body []byte + Http gorequest.Response + Result ApiGetQuaLitYsCoreBySidResponse + type ApiMiniCodeResponse struct + Data string + Des string + Status int + type ApiMiniCodeResult struct + Body []byte + Http gorequest.Response + Result ApiMiniCodeResponse + type ApiMtUnionCategoryResponse struct + Code int + Data struct{ ... } + Msg string + type ApiMtUnionCategoryResult struct + Body []byte + Http gorequest.Response + Result ApiMtUnionCategoryResponse + type ApiMtUnionCityResponse struct + Code int + Data struct{ ... } + Msg string + type ApiMtUnionCityResult struct + Body []byte + Http gorequest.Response + Result ApiMtUnionCityResponse + type ApiMtUnionPoiResponse struct + Code int + Data struct{ ... } + Msg string + type ApiMtUnionPoiResult struct + Body []byte + Http gorequest.Response + Result ApiMtUnionPoiResponse + type ApiMtUnionSkuResponse struct + Code int + Data struct{ ... } + Msg string + type ApiMtUnionSkuResult struct + Body []byte + Http gorequest.Response + Result ApiMtUnionSkuResponse + type ApiOrderListResponse struct + DataList []struct{ ... } + Total int + type ApiOrderListResult struct + Body []byte + Http gorequest.Response + Result ApiOrderListResponse + type ApiOrderResponse struct + Data struct{ ... } + Des string + Status int + type ApiOrderResult struct + Body []byte + Http gorequest.Response + Result ApiOrderResponse + type Client struct + func NewClient(config *ClientConfig) (*Client, error) + func (c *Client) ApiGenerateLink(ctx context.Context, notMustParams ...gorequest.Params) (*ApiGenerateLinkResult, error) + func (c *Client) ApiGetQuaLitYsCoreBySid(ctx context.Context, notMustParams ...gorequest.Params) (*ApiGetQuaLitYsCoreBySidResult, error) + func (c *Client) ApiMiniCode(ctx context.Context, notMustParams ...gorequest.Params) (*ApiMiniCodeResult, error) + func (c *Client) ApiMtUnionCategory(ctx context.Context, notMustParams ...gorequest.Params) (*ApiMtUnionCategoryResult, error) + func (c *Client) ApiMtUnionCity(ctx context.Context, notMustParams ...gorequest.Params) (*ApiMtUnionCityResult, error) + func (c *Client) ApiMtUnionPoi(ctx context.Context, notMustParams ...gorequest.Params) (*ApiMtUnionPoiResult, error) + func (c *Client) ApiMtUnionSku(ctx context.Context, notMustParams ...gorequest.Params) (*ApiMtUnionSkuResult, error) + func (c *Client) ApiOrder(ctx context.Context, notMustParams ...gorequest.Params) (*ApiOrderResult, error) + func (c *Client) ApiOrderList(ctx context.Context, notMustParams ...gorequest.Params) (*ApiOrderListResult, error) + func (c *Client) GetAppKey() string + func (c *Client) GetSecret() string + func (c *Client) PoiArea(ctx context.Context, cityID int, notMustParams ...gorequest.Params) (*PoiAreaResult, error) + func (c *Client) PoiCategory(ctx context.Context, cityID int, notMustParams ...gorequest.Params) (*PoiCategoryResult, error) + func (c *Client) PoiCity(ctx context.Context, notMustParams ...gorequest.Params) (*PoiCityResult, error) + func (c *Client) PoiDistrict(ctx context.Context, cityID int, notMustParams ...gorequest.Params) (*PoiDistrictResult, error) + func (c *Client) ServeHttpOrderHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateJson ServeHttpOrderHttpRequest, err error) + func (c *Client) SetAppKey(v string) *Client + func (c *Client) SetClientIP(clientIP string) *Client + func (c *Client) SetLogFun(logFun gorequest.LogFunc) + func (c *Client) SetSecret(v string) *Client + func (c *Client) SetTrace(trace bool) + func (c *Client) TraceEndSpan() + func (c *Client) TraceGetSpanID() (spanID string) + func (c *Client) TraceGetTraceID() (traceID string) + func (c *Client) TraceRecordError(err error, options ...trace.EventOption) + func (c *Client) TraceSetAttributes(kv ...attribute.KeyValue) + func (c *Client) TraceSetStatus(code codes.Code, description string) + func (c *Client) TraceStartSpan(ctx context.Context, spanName string) context.Context + type ClientConfig struct + AppKey string + Secret string + type PoiAreaResponse struct + Code int + Data []struct{ ... } + type PoiAreaResult struct + Body []byte + Http gorequest.Response + Result PoiAreaResponse + type PoiCategoryResponse struct + Code int + Data []struct{ ... } + type PoiCategoryResult struct + Body []byte + Http gorequest.Response + Result PoiCategoryResponse + type PoiCityResponse struct + Code int + Data []struct{ ... } + type PoiCityResult struct + Body []byte + Http gorequest.Response + Result PoiCityResponse + type PoiDistrictResponse struct + Code int + Data []struct{ ... } + type PoiDistrictResult struct + Body []byte + Http gorequest.Response + Result PoiDistrictResponse + type ServeHttpOrderHttpRequest struct + ActId string + Appkey string + BusinessLine string + ConsumeType string + Dealid string + Direct string + EncryptionVoucherId string + ModTime string + Orderid string + Ordertime string + PayPrice string + Paytime string + ProductId string + ProductName string + Quantity string + Ratio string + RefundType string + Sid string + Sign string + Smstitle string + Status string + SubBusinessLine string + Total string + TradeTypeList string + Type string + Uid string + func (r *ServeHttpOrderHttpRequest) Error() ServeHttpOrderHttpResponse + func (r *ServeHttpOrderHttpRequest) Success() ServeHttpOrderHttpResponse + type ServeHttpOrderHttpResponse struct + Errcode int + Errmsg string Other modules containing this package go.dtapp.net/library