Documentation ¶
Index ¶
- func HTTPRequest(nClient *NitroClient, requestQuery string, requestType string, ...) ([]byte, int, error)
- type NitroClient
- func (n *NitroClient) Add(req interface{}, options ...string) error
- func (n *NitroClient) Delete(req interface{}, resourceName string, options ...string) error
- func (n *NitroClient) Enable(req interface{}, enable bool) error
- func (n *NitroClient) Get(res interface{}, resourceName string, options ...string) error
- func (n *NitroClient) Update(req interface{}, options ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPRequest ¶
Types ¶
type NitroClient ¶
type NitroClient struct { Protocol string IpAddress string Mode string User string Password string Debug bool }
Nitro Client
func NewNitroClient ¶
func (*NitroClient) Add ¶
func (n *NitroClient) Add(req interface{}, options ...string) error
func (*NitroClient) Delete ¶
func (n *NitroClient) Delete(req interface{}, resourceName string, options ...string) error
func (*NitroClient) Enable ¶
func (n *NitroClient) Enable(req interface{}, enable bool) error
func (*NitroClient) Get ¶
func (n *NitroClient) Get(res interface{}, resourceName string, options ...string) error
func (*NitroClient) Update ¶
func (n *NitroClient) Update(req interface{}, options ...string) error
Click to show internal directories.
Click to hide internal directories.