Documentation ¶
Overview ¶
Package bytedance 字节系开放平台
Index ¶
- func Version() string
- type Bytedance
- func (b *Bytedance) MiniProgram(ctx context.Context, cfg *config.Config) (*miniprogram.MicroApp, error)
- func (b *Bytedance) Pay(ctx context.Context, cfg *config.Config) (*payment.Pay, 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 {
// contains filtered or unexported fields
}
Bytedance 字节系开放平台
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 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 payment payment
|
Package payment payment |
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.