Versions in this module Expand all Collapse all v1 v1.0.1 Nov 22, 2024 v1.0.0 Nov 22, 2024 Changes in this version + const BASE_URL + type Otel struct + func NewOtel(namespace string, appKey string) *Otel + func (o *Otel) WithSpan(ctx context.Context, req *http.Request, resp model.Response, payload []byte, ...) error + type RateLimiter interface + Take func() time.Duration + type SDKClient struct + func NewSDKClient(appKey string, secret string) *SDKClient + func (c *SDKClient) Copy() *SDKClient + func (c *SDKClient) Get(ctx context.Context, gw string, req model.GetRequest, resp model.Response) error + func (c *SDKClient) SetDebug(debug bool) + func (c *SDKClient) SetHttpClient(client *http.Client) + func (c *SDKClient) SetRateLimiter(limiter RateLimiter) + func (c *SDKClient) WithSpan(ctx context.Context, req *http.Request, resp model.Response, payload []byte, ...) error + func (c *SDKClient) WithTracer(namespace string) Other modules containing this package github.com/bububa/meituan/v2