Documentation ¶
Overview ¶
Package bytedance 字节系开放平台
Index ¶
- func Version() string
- type Bytedance
- func (b *Bytedance) MiniDrama(ctx context.Context, cfg *config.Config) (*minidrama.MiniDrama, error)
- func (b *Bytedance) MiniProgram(ctx context.Context, cfg *config.Config) (*miniprogram.MicroApp, error)
- func (b *Bytedance) Pay(ctx context.Context, cfg *config.Config) (*pay.Pay, error)
- func (b *Bytedance) Payment(ctx context.Context, cfg *config.Config) (*payment.Payment, error)
- func (b *Bytedance) SetCache(cache cache.Cache)
- func (b *Bytedance) SetLogger(logger logger.ILogger)
- func (b *Bytedance) SetRequest(request request.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bytedance ¶
type Bytedance struct { Version string // contains filtered or unexported fields }
Bytedance 字节系开放平台
func (*Bytedance) MiniDrama ¶ added in v0.0.9
func (b *Bytedance) MiniDrama(ctx context.Context, cfg *config.Config) (*minidrama.MiniDrama, error)
MiniDrama create drama
func (*Bytedance) MiniProgram ¶ added in v0.0.4
func (b *Bytedance) MiniProgram(ctx context.Context, cfg *config.Config) (*miniprogram.MicroApp, error)
MiniProgram mini program
func (*Bytedance) SetRequest ¶
SetRequest 设置请求
Directories ¶
Path | Synopsis |
---|---|
Package config Configuration information of the DouYin Open Platform
|
Package config Configuration information of the DouYin Open Platform |
Package credential mini program credentials
|
Package credential mini program credentials |
Package minidrama mini drama
|
Package minidrama mini drama |
drama
Package drama drama
|
Package drama drama |
voc
Package voc voc
|
Package voc voc |
Package miniprogram mini program
|
Package miniprogram mini program |
authorize
Package authorize mini program authorize
|
Package authorize mini program authorize |
link
Package link generate short links
|
Package link generate short links |
schema
Package schema Schema link
|
Package schema Schema link |
Package pay 支付
|
Package pay 支付 |
refund
Package refund 退款
|
Package refund 退款 |
trade
Package trade 交易
|
Package trade 交易 |
Package payment payment
|
Package payment payment |
bill
Package bill query merchant bill
|
Package bill query merchant bill |
constant
Package constant payment constant
|
Package constant payment constant |
syncorder
Package syncorder order sync to douyin
|
Package syncorder order sync to douyin |
trade
Package trade 交易
|
Package trade 交易 |
Package utility universal tool package
|
Package utility universal tool package |
base
Package base universal tool package
|
Package base universal tool package |
cache
Package cache universal tool package
|
Package cache universal tool package |
helper
Package helper universal tool package
|
Package helper universal tool package |
logger
Package logger universal tool package
|
Package logger universal tool package |
request
Package request HTTP request
|
Package request HTTP request |
Click to show internal directories.
Click to hide internal directories.