Documentation ¶
Index ¶
- type NotFoundError
- type OPNsense
- func (opn *OPNsense) EndpointForModule(module string) string
- func (opn *OPNsense) EndpointForModuleController(module string, controller string) string
- func (opn *OPNsense) EndpointForPluginControllerMethod(module string, controller string, method string) string
- func (opn *OPNsense) Send(request *http.Request) (*http.Response, error)
- type TooManyFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotFoundError ¶
func (*NotFoundError) Error ¶
func (f *NotFoundError) Error() string
type OPNsense ¶
func ConfigureFromEnv ¶
func (*OPNsense) EndpointForModule ¶
EndpointForModule so basically api/<plugin>
func (*OPNsense) EndpointForModuleController ¶
EndpointForModuleController so basically api/<plugin>/<controller>
type TooManyFoundError ¶
func (*TooManyFoundError) Error ¶
func (f *TooManyFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.