wemeet

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {

	// service interfaces
	MeetingsApi       meetings.Service
	RecordsApi        records.Service
	MeetingControlApi meeting_control.Service
	MeetingGuestApi   meeting_guest.Service
	// contains filtered or unexported fields
}

func NewClient

func NewClient(options ...ClientOptionFunc) *Client

func (Client) GetConfig

func (clt Client) GetConfig() core.Config

type ClientOptionFunc

type ClientOptionFunc func(config *core.Config)

func WithAppId

func WithAppId(appId string) ClientOptionFunc

WithAppId 腾讯会议分配给企业的企业 ID。

企业管理员可以登录 腾讯会议官网,单击右上角用户中心,在左侧菜单栏中的企业管理 > 账户管理 > 账户信息中进行查看。

开发者可以单击右上角用户中心,在左侧菜单栏中的企业管理 > 高级 > REST API 应用信息中查看。

func WithAppVersion

func WithAppVersion(version string) ClientOptionFunc

WithAppVersion 设置应用 App 的版本号,建议设置,以便灰度和查找问题。

func WithHTTPClient

func WithHTTPClient(clt xhttp.Client) ClientOptionFunc

WithHTTPClient 设置自定义 wemeet http client

func WithSdkId

func WithSdkId(sdkId string) ClientOptionFunc

WithSdkId 设置用户子账号或开发的应用 ID。

企业管理员可以登录 腾讯会议官网,单击右上角用户中心, 在左侧菜单栏中的企业管理 > 高级 > REST API 中进行查看(如存在 SdkId 则必须填写,早期申请 API 且未分配 SdkId 的客户可不填写)。

func WithSecret

func WithSecret(secretID string, secretKey string) ClientOptionFunc

WithSecret 设置应用生成的 Secret ID 和 Secret Key。JWT 鉴权用。

Directories

Path Synopsis
service
meeting_control
Package wemeetopenapi is auto generate
Package wemeetopenapi is auto generate
meeting_guest
Package wemeetopenapi is auto generate
Package wemeetopenapi is auto generate
meetings
Package wemeetopenapi is auto generate
Package wemeetopenapi is auto generate
records
Package wemeetopenapi is auto generate
Package wemeetopenapi is auto generate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL