1 Star 0 Fork 0

GoMods / wechat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
livebroadcast.go 550 Bytes
一键复制 编辑 原始数据 按行查看 历史
wanglelecc 提交于 2022-01-11 18:47 . first commit
package livebroadcast
import (
"context"
"gitee.com/gomods/wechat/request"
)
type LiveBroadcast struct {
request *request.Request
// 组成完整的 URL 地址
// 默认包含 AccessToken
conbineURI func(ctx context.Context, url string, req interface{}, withToken bool) (string, error)
}
func NewLiveBroadcast(request *request.Request, conbineURI func(ctx context.Context, url string, req interface{}, withToken bool) (string, error)) *LiveBroadcast {
sm := LiveBroadcast{
request: request,
conbineURI: conbineURI,
}
return &sm
}
1
https://gitee.com/gomods/wechat.git
git@gitee.com:gomods/wechat.git
gomods
wechat
wechat
v0.0.1

搜索帮助