Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildToken ¶
Build the RTM token.
appId: The App ID issued to you by Agora. Apply for a new App ID from
Agora Dashboard if it is missing from your kit. See Get an App ID.
appCertificate: Certificate of the application that you registered in
the Agora Dashboard. See Get an App Certificate.
userId: The user's account, max length is 64 Bytes. expire: represented by the number of seconds elapsed since now. If, for example, you want to access the
Agora Service within 10 minutes after the token is generated, set expire as 600(seconds).
return The RTM token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.