Documentation ¶
Index ¶
- func AllNetInterfaceIP() ([]net.IP, error)
- func AllNetInterfaceIPString() ([]string, error)
- func CurrentIPAndMac() (string, string, error)
- type SimpleHttp
- func (o *SimpleHttp) Get(t string, url string, headers map[string]string, encoding string) (string, interface{}, error)
- func (o *SimpleHttp) GetClient(t string) interface{}
- func (o *SimpleHttp) Gets(t string, opts []map[string]interface{}) []map[string]interface{}
- func (o *SimpleHttp) GorillaGet(url string, headers map[string]string, encoding string) (string, interface{}, error)
- func (o *SimpleHttp) InitClients(t string, count int, timeout int)
- func (o *SimpleHttp) Post(url string, headers map[string]string, body string, encoding string) (string, *http.Response, error)
- func (o *SimpleHttp) SimplePost()
- func (o *SimpleHttp) Sleep(millisec int)
- func (o *SimpleHttp) StdGet(url string, headers map[string]string, encoding string) (string, interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllNetInterfaceIP ¶
func AllNetInterfaceIPString ¶
func CurrentIPAndMac ¶
Types ¶
type SimpleHttp ¶
type SimpleHttp struct {
// contains filtered or unexported fields
}
func GetSimpleHttp ¶
func GetSimpleHttp() *SimpleHttp
func (*SimpleHttp) GetClient ¶
func (o *SimpleHttp) GetClient(t string) interface{}
func (*SimpleHttp) Gets ¶
func (o *SimpleHttp) Gets(t string, opts []map[string]interface{}) []map[string]interface{}
func (*SimpleHttp) GorillaGet ¶
func (*SimpleHttp) InitClients ¶
func (o *SimpleHttp) InitClients(t string, count int, timeout int)
func (*SimpleHttp) SimplePost ¶
func (o *SimpleHttp) SimplePost()
func (*SimpleHttp) Sleep ¶
func (o *SimpleHttp) Sleep(millisec int)
Click to show internal directories.
Click to hide internal directories.