Documentation ¶
Index ¶
- type Config
- func (s *Config) SendDeleteRequest(url string) ([]byte, error)
- func (s *Config) SendGetRequest(url string, data []byte) ([]byte, error)
- func (s *Config) SendPostRequest(url string, data []byte) ([]byte, error)
- func (s *Config) SendRequest(url string, data []byte) ([]byte, error)
- func (s *Config) SendUpdateRequest(url string, data []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func GetDefaultConfig ¶
func GetDefaultConfig() Config
func (*Config) SendGetRequest ¶
SendGetRequest sends Get request to appliance with or without payload
func (*Config) SendPostRequest ¶
func (*Config) SendRequest ¶
SendRequest accepts url and payload json. Sends a POST request.
Click to show internal directories.
Click to hide internal directories.