spark-server/internal/module/device/entity/app_id.go

14 lines
207 B
Go

package entity
// AppID identifies a client application (independent package/signing).
type AppID uint8
const (
AppUnknown AppID = 0
AppSparkIM AppID = 1
)
func (a AppID) Valid() bool {
return a > 0
}