Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
13
pkg/common/empty_message.go
Normal file
13
pkg/common/empty_message.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package common
|
||||
|
||||
type EmptyMessageFromMobile struct {
|
||||
VIN string `json:"vin" validate:"required"`
|
||||
}
|
||||
|
||||
func (m EmptyMessageFromMobile) GetVIN() string {
|
||||
return m.VIN
|
||||
}
|
||||
|
||||
func (m EmptyMessageFromMobile) GetPayload() interface{} {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user