Documentation ¶
Index ¶
- Constants
- func RequestID(ctx context.Context) string
- func WithRequestID(parent context.Context, requestID string) context.Context
- type Core
- type Handler
- type Logger
- type Middleware
- type Option
- func EnDebug() Option
- func WithDealerID(dealerID string) Option
- func WithDes3Encoding(des3Key string) Option
- func WithHmacSign(appKey string) Option
- func WithHost(host string) Option
- func WithHttpClient(client *http.Client) Option
- func WithLogger(logger Logger) Option
- func WithMiddleware(m ...Middleware) Option
- func WithRsaSign(privateKey, appKey string) Option
Constants ¶
View Source
const Version = "1.0.10" // SDK版本号
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
Core client 用以实现 Invoker
type Middleware ¶
Middleware 中间件
Click to show internal directories.
Click to hide internal directories.