Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
10
pkg/common/mobile_session.go
Normal file
10
pkg/common/mobile_session.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package common
|
||||
|
||||
type MobileSessionMessage struct {
|
||||
Handler string `json:"handler" validate:"required"`
|
||||
Data MobileSessionData `json:"data"`
|
||||
}
|
||||
|
||||
type MobileSessionData struct {
|
||||
Token string `json:"token" validate:"jwt"`
|
||||
}
|
||||
Reference in New Issue
Block a user