initial modifications, needs testing

This commit is contained in:
2023-07-09 15:22:26 -07:00
parent fbf6ce98b2
commit 31ffadf1b1
47 changed files with 1726 additions and 299 deletions

25
extension/README.md Normal file
View File

@@ -0,0 +1,25 @@
# Arma-Influx
A3 extension for sending metrics to InfluxDB using Golang
## Build
### Windows
_Requires Go 1.20.1+ & MinGW_
```powershell
$ENV:GOARCH = "amd64"
$ENV:CGO_ENABLED = 1
go build -o RangerMetrics_x64.dll -buildmode=c-shared .
```
To validate exported functions:
```powershell
. "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\dumpbin.exe" /exports .\RangerMetrics_x64.dll
```
## Notes
>
> See more: <https://github.com/code34/armago_x64>