refine tenant api

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2019-04-01 02:59:19 +08:00
parent 744bd053e3
commit 93ad572e19
202 changed files with 13517 additions and 7951 deletions

11
vendor/gopkg.in/igm/sockjs-go.v2/sockjs/frame.go generated vendored Normal file
View File

@@ -0,0 +1,11 @@
package sockjs
import (
"encoding/json"
"fmt"
)
func closeFrame(status uint32, reason string) string {
bytes, _ := json.Marshal([]interface{}{status, reason})
return fmt.Sprintf("c%s", string(bytes))
}