Skip to content

Latest commit

 

History

History
 
 

golang

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

AppServer

Golang AppServer for RTC.

Usage

  1. Create APP and APPKey from here:
AppID: xxxxxxxx
AppKey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  1. Setup Golang environment, click here.

  2. Run project with args(replace appid and appkey with yours):

go run main.go --listen=8080 --appid=xxxxxxxx \
    --appkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --gslb=https://rgslb.rtc.aliyuncs.com
  1. Verify your AppServer by VerifyServer.

AppServer Success

AppServer Failed

Remark: You can setup client native SDK by http://30.2.228.19:8080/app/v1.

Remark: Please use your AppServer IP instead by ifconfig eth0.