summaryrefslogtreecommitdiffstats
path: root/model/license.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-02-28 16:39:25 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-02-28 16:39:25 -0500
commit5e9adddb6f19a8d18d568871559495ea51b401ae (patch)
treeadb7f82df01611d56f6f31b6e870afd0540a1b71 /model/license.go
parent5a3bc43668353e41949d2d48c8956eaa9d061860 (diff)
downloadchat-5e9adddb6f19a8d18d568871559495ea51b401ae.tar.gz
chat-5e9adddb6f19a8d18d568871559495ea51b401ae.tar.bz2
chat-5e9adddb6f19a8d18d568871559495ea51b401ae.zip
Reload license from DB for all cluster app servers (#5525)
* Reload license from DB for all cluster app servers * Increase test timeout
Diffstat (limited to 'model/license.go')
-rw-r--r--model/license.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/model/license.go b/model/license.go
index 7115aa1ac..09da61eb7 100644
--- a/model/license.go
+++ b/model/license.go
@@ -8,6 +8,11 @@ import (
"io"
)
+const (
+ EXPIRED_LICENSE_ERROR = "api.license.add_license.expired.app_error"
+ INVALID_LICENSE_ERROR = "api.license.add_license.invalid.app_error"
+)
+
type LicenseRecord struct {
Id string `json:"id"`
CreateAt int64 `json:"create_at"`