add handler comment

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-11-08 22:31:00 +00:00
parent 78772cc830
commit 2a37c0a41d
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

View file

@ -36,6 +36,8 @@ type turnServerResponse struct {
TTL int `json:"ttl"`
}
// RequestTurnServer implements:
// GET /voip/turnServer
func RequestTurnServer(req *http.Request, device *authtypes.Device, cfg config.Dendrite) util.JSONResponse {
turnConfig := cfg.TURN