mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-25 10:31:30 +01:00
agent: add system-info endpoint
This commit is contained in:
@@ -42,6 +42,7 @@ func NewHandler() http.Handler {
|
||||
})
|
||||
mux.HandleMethods("GET", agent.EndpointHealth, CheckHealth)
|
||||
mux.HandleMethods("GET", agent.EndpointLogs, memlogger.LogsWS(nil))
|
||||
mux.HandleMethods("GET", agent.EndpointSystemInfo, SystemInfo)
|
||||
mux.ServeMux.HandleFunc("/", DockerSocketHandler())
|
||||
return mux
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user