Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCommand = Command(nil, "OPA")
Backwards compatibility definition. Newer code should use Command.
Functions ¶
func UserAgent ¶ added in v1.7.0
func UserAgent(agent string)
UserAgent lets you override the OPA UA sent with all the HTTP requests. It's another vanity thing -- if you build your own version of OPA, you may want to adjust this. NOTE(sr): Caution: Please consider this experimental, I have the hunch that we'll find a better way to make this adjustment in the future.
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.