The very basic client app, not adapted for mobiles.
This commit is contained in:
8
commons/appids.go
Normal file
8
commons/appids.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package commons
|
||||
|
||||
var (
|
||||
// ClientAppID это идентификатор для клиента.
|
||||
ClientAppID = "name.pztrn.bunker.client"
|
||||
// ServerAppID это идентификатор для сервера.
|
||||
ServerAppID = "name.pztrn.bunker.server"
|
||||
)
|
6
commons/exit_codes.go
Normal file
6
commons/exit_codes.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package commons
|
||||
|
||||
const (
|
||||
// ExitCodeAppStopFailed указывает на ошибку остановки работы приложения.
|
||||
ExitCodeAppStopFailed = 2
|
||||
)
|
14
commons/version.go
Normal file
14
commons/version.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package commons
|
||||
|
||||
var (
|
||||
// Branch это ветка, из которой собрано приложение.
|
||||
Branch string
|
||||
// Build это порядковый номер сборки.
|
||||
Build string
|
||||
// BuildDate это таймштамп сборки приложения.
|
||||
BuildDate string
|
||||
// Commit это коммит, из которого собрано приложение.
|
||||
Commit string
|
||||
// Version это версия, из которой собрано приложение.
|
||||
Version string
|
||||
)
|
Reference in New Issue
Block a user