refactor: reorganize modules and add Linux build tooling
This commit is contained in:
10
module/base/passport/internal/vars/provider.go
Normal file
10
module/base/passport/internal/vars/provider.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package vars
|
||||
|
||||
const (
|
||||
Provider_Google = "google"
|
||||
Provider_Twitter = "twitter"
|
||||
Provider_Facebook = "facebook"
|
||||
Provider_Wechat = "wechat"
|
||||
Provider_Apple = "apple"
|
||||
Provider_Custom = "custom"
|
||||
)
|
||||
8
module/base/passport/internal/vars/status.go
Normal file
8
module/base/passport/internal/vars/status.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package vars
|
||||
|
||||
const (
|
||||
Status_UnApproved int8 = -1
|
||||
Status_Disable int8 = -9
|
||||
Status_Normal int8 = 0
|
||||
Status_Approved int8 = 1
|
||||
)
|
||||
3
module/base/passport/internal/vars/token.go
Normal file
3
module/base/passport/internal/vars/token.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package vars
|
||||
|
||||
var TokenPrefix string = "/TOKEN/"
|
||||
Reference in New Issue
Block a user