Documentation
¶
Index ¶
- Constants
- type Command
- type Utimaco
- func (config *Utimaco) Crypt(data, mode string) (string, error)
- func (config *Utimaco) Cvv(pan, exp, cvvType string) (string, error)
- func (config *Utimaco) GetKey(id string) string
- func (config *Utimaco) InitSenderThread()
- func (config *Utimaco) Mac(data string) (string, error)
- func (config *Utimaco) Offset(pan, pinBlock string) (string, error)
- func (config *Utimaco) PurgeRequestsUntilReconnection()
- func (config *Utimaco) Pvv(pan, pinBlock string) (string, error)
- func (config *Utimaco) Reconnect()
- func (config *Utimaco) SendCommand(stan, command string) string
- func (config *Utimaco) SetKey(id, value string)
- func (config *Utimaco) Translate(pan, pinBlock, tpk2nd string) (string, error)
- func (config *Utimaco) WaitForMessage()
Constants ¶
View Source
const ( Info = 1 InfoGood = 2 Error = 3 ErrorWarning = 4 ErrorBad = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Utimaco ¶
type Utimaco struct {
Socket net.Conn
RequestPool sync.Map
QueueMutex *sync.Mutex
SendQueue chan Command
EnableLogging bool `json:"log"`
SendStan bool `json:"sendStan"`
Stan atomic.Int64 `json:"stan"`
Pvk string `json:"pvk"`
Cvk string `json:"cvk"`
Tpk string `json:"tpk"`
IsSenderUp bool
}
func (*Utimaco) InitSenderThread ¶
func (config *Utimaco) InitSenderThread()
func (*Utimaco) PurgeRequestsUntilReconnection ¶
func (config *Utimaco) PurgeRequestsUntilReconnection()
func (*Utimaco) SendCommand ¶
func (*Utimaco) WaitForMessage ¶
func (config *Utimaco) WaitForMessage()
Click to show internal directories.
Click to hide internal directories.