Documentation ¶
Index ¶
- func FromIP(req *http.Request) string
- func HTTPGet(URL string) ([]byte, error)
- func IPIsLocal(remoteIP, localIP string) bool
- func IsFromLocalIP(req *http.Request) bool
- func PostBuffer2URL(buffer []byte, url string) ([]byte, error)
- func PostURI2URL(uris map[string]string, url string) ([]byte, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFromLocalIP ¶
IsFromLocalIP check req is from local or not
func PostBuffer2URL ¶
PostBuffer2URL do URL post
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.