Documentation ¶
Index ¶
- func RemoteAddr(req *http.Request) string
- type Byte
- type Date
- type Http
- type Path
- func (this *Path) Abs(filePath string) (string, error)
- func (this *Path) Create(dir string, perm os.FileMode) error
- func (this *Path) Dir(filePath string) (string, error)
- func (this *Path) ExecPath() string
- func (this *Path) FileName(filePath string) (string, error)
- func (this *Path) IsExist(path string) (bool, error)
- func (this *Path) Split(filePath string) []string
- func (this *Path) WorkDir() string
- func (this *Path) WorkName() string
- type Rand
- type Strings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoteAddr ¶
Types ¶
type Http ¶
type Http struct { Method string Addr string Data string // http POST data Timeout int // http timeout second Header struct { UserAgent string ContentType string // "text/json; charset=utf-8" } }
func NewHttpWithUserAgent ¶
type Path ¶
type Path struct{}
Click to show internal directories.
Click to hide internal directories.