package
0.0.0-20241216150525-fbd4b2e332e1
Repository: https://github.com/tknie/clu.git
Documentation: pkg.go.dev
# Functions
AdaptConfig adapt and reload xml configuration file.
CloseTable close table id.
ConnectTable connect table id.
ConvertByteArrayToString convert byte array to string by evaluating \0 end and create string from sub array.
DefaultPIDFile default PID file location.
GenerateJWToken generate JWT token on given context and returning the authorization instance containing session information.
GenerateShutdownHash generates shutdown hash dependent on pass code time.
GetAllViews get all table and view names.
Handles handle database.
InitConfig load xml configuration file The components are used to load and inject the configuration.
InitDatabases initialize database reference IDs.
InitDatabaseStores init database session store.
NewAPIError new API error.
NewStreamRead new stream read instance.
RegisterExtend register the extend handler.
RemoteHost check if X-Forwarded-For is available and use this remote host.
StoreConfig store the current config, wraps the REST server configuration and uses components to store the current configuration.
# Constants
INSTALLDIR installation directory environment.
# Structs
Handler server handler to ogen API.
Loader config loader structure calling static configurations.
Printer temporary.
StreamRead stream control structure to handle data streams Video or big pictures.
# Interfaces
RestExtend Adabas method to send to plugin.