go-zabbix
go-zabbix copied to clipboard
Create session with existing token
If I have an existing token, there seems to be no way to create a session with a token and a *http.Client
If I construct a *Session manually i can specify a token, however client is not exported I can't specify a token and set a custom http client. By exporting client we achieve both.
I made a PR #35 to address this.