Documentation ¶
Index ¶
- func ParseURL(urlString string) (baseURL string, err error)
- type FastClient
- func (s *FastClient) Close()
- func (s *FastClient) Get(url string) (int, []byte, error)
- func (s *FastClient) Post(u, payload string) (int, []byte, error)
- func (s *FastClient) Prompt() *FastClient
- func (s *FastClient) Release()
- func (s *FastClient) Upload(url, uploadFile, field, tid string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FastClient ¶
type FastClient struct { Req *fasthttp.Request Rsp *fasthttp.Response Client *fasthttp.Client // contains filtered or unexported fields }
func (*FastClient) Close ¶ added in v0.1.2
func (s *FastClient) Close()
func (*FastClient) Post ¶ added in v0.1.2
func (s *FastClient) Post(u, payload string) (int, []byte, error)
func (*FastClient) Prompt ¶
func (s *FastClient) Prompt() *FastClient
func (*FastClient) Release ¶
func (s *FastClient) Release()
Click to show internal directories.
Click to hide internal directories.