add k8s client

This commit is contained in:
richardxz
2018-05-21 13:57:27 +08:00
parent 942a4bf6e3
commit d4c39f115e
1237 changed files with 484467 additions and 0 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))
}