go-graylog
go-graylog copied to clipboard
Allow calling generic APIs
There is a "callAPI" method: https://github.com/suzuki-shunsuke/go-graylog/blob/3e39cb0fde1cb00dac7a3bbd060d2c69d06eb91e/graylog/client/util.go#L32-L35
This is currently private. It would be nice if the User can call any APIs that are not implemented (yet), like /authz/shares. See #332.
I would suggest renaming callAPI
to CallAPI
to make it public, or provide a equivalent public method.