package
0.0.0-20241001164524-b029338337ba
Repository: https://github.com/dmwm/das2go.git
Documentation: pkg.go.dev
# Functions
ApisHandler handlers Apis requests.
AuthHandler authenticate incoming requests and route them to appropriate handler.
CliHandler hadnlers cli requests.
ExtractValue helper function to extract value from das record.
FAQHandler handlers FAQ requests.
KeysHandler handlers Keys requests.
PresentData represents DAS records for web UI.
PresentDataPlain represents DAS records for web UI.
RequestHandler is used by web server to handle incoming requests.
Server is proxy server.
ServicesHandler handlers Services requests.
SettingsHandler handlers Settings requests.
StatusHandler handlers Status requests.
UserDN function parses user Distinguished Name (DN) from client's HTTP request.
# Variables
global map of templates.
Time0 represents initial time when we started the server.
TotalGetRequests counts total number of GET requests received by the server.
TotalPostRequests counts total number of POST requests received by the server.
# Structs
DASKeys provides information about DAS keys used by ServiceHandler.
DASTemplates structure.
Mem structure keeps track of virtual/swap memory of the server.
Memory structure keeps track of server memory.
MemStats represents runtime memory stats.
ServerSettings controls server parameters.
UserDNs structure holds information about user DNs.