-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.go
48 lines (44 loc) · 903 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package adb
// Account database
// Config
// Copyright © 2018 Eduard Sesigin. All rights reserved. Contacts: <[email protected]>
// Hasp state
const (
stateClosed int64 = iota
stateOpen
)
const sizeBucket int64 = 256
const logExt string = ".log"
const dbExt string = ".db"
const snapExt string = ".snap"
/*
const (
WalSimbolSeparator1 string = "|"
WalSimbolSeparator2 string = ";"
WalSimbolSeparator3 string = "*"
WalSimbolBlock string = "B"
WalSimbolUnblock string = "U"
WalSimbolCredit string = "C"
WalSimbolDebit string = "D"
)
*/
type Symbol struct {
Separator1 string
Separator2 string
Separator3 string
Block string
Unblock string
Credit string
Debit string
}
func newSymbol() *Symbol {
return &Symbol{
Separator1: "|",
Separator2: ";",
Separator3: "*",
Block: "B",
Unblock: "U",
Credit: "C",
Debit: "D",
}
}