# README
go-apc
The library to work with Avaya Proactive Control Agent API. It replaces the old ActiveX component.
Supports old versions with TLS 1.0 only support. Due to incompatibility with BEAST patched clients
Go tls
package was forked.
cmd/apcctl
contains source code of the example utility that logins, attaches a job and receives events.
Additional documentation.
It lacks tests, but was battle-tested under real production loads without major changes.
# Functions
No description provided by the author
LogLevelToString transforms Level to its string representation.
NewClient returns Avaya Proactive Client Agent API client to work with.
WithDecoder returns an Option with custom decoder e.g w/ charmap.Windows1251.NewDecoder().
WithLogger returns an Option with zap logger (JSON).
WithLogHandler returns an Option with custom log handler.
WithTimeout returns an Option with Timeout for underlying Client connection.
WithTlsPatched returns an Option with patched TLS package to fix issues with old TLS 1.0 only Avaya server.
WithTlsSkipVerify returns an Option with flag to skip TLS verification (insecure!).
# Constants
ConnClosed means that connection is currently closing or already closed.
ConnOK means that connection is currently online.
ETB is IsIncomplete message separator.
ETX is End of text.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LogLevelDebug turns on debug logs - its generally too much for production in normal conditions but can help when developing and investigating problems in production.
LogLevelError level logs only server errors.
LogLevelInfo is logs useful server information.
LogLevelNone means no logging.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RS is Message separator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LogEntry represents log entry.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LogHandler handles log entries - i.e.
LogLevel describes the chosen log level.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author