Documentation
¶
Index ¶
- func GinReadRequest(c *gin.Context)
- func SendRequest(method, url string, data interface{}, headers HTTPHeader) (res []byte, err error)
- type Full
- func (f *Full) Connect(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- func (f *Full) Delete(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- func (f *Full) Get(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- func (f *Full) Head(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- func (f *Full) Options(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- func (f *Full) Patch(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- func (f *Full) Post(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- func (f *Full) Put(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- func (f *Full) Trace(url string, data interface{}, headers HTTPHeader) ([]byte, error)
- type HTTPHeader
- type Simple
- func (s *Simple) Connect(url string, data interface{}) ([]byte, error)
- func (s *Simple) Delete(url string, data interface{}) ([]byte, error)
- func (s *Simple) Get(url string, data interface{}) ([]byte, error)
- func (s *Simple) Head(url string, data interface{}) ([]byte, error)
- func (s *Simple) Options(url string, data interface{}) ([]byte, error)
- func (s *Simple) Patch(url string, data interface{}) ([]byte, error)
- func (s *Simple) Post(url string, data interface{}) ([]byte, error)
- func (s *Simple) Put(url string, data interface{}) ([]byte, error)
- func (s *Simple) Trace(url string, data interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendRequest ¶
func SendRequest(method, url string, data interface{}, headers HTTPHeader) (res []byte, err error)
Types ¶
type Full ¶
type Full struct { }
func (*Full) Connect ¶
func (f *Full) Connect(url string, data interface{}, headers HTTPHeader) ([]byte, error)
func (*Full) Delete ¶
func (f *Full) Delete(url string, data interface{}, headers HTTPHeader) ([]byte, error)
func (*Full) Get ¶
func (f *Full) Get(url string, data interface{}, headers HTTPHeader) ([]byte, error)
func (*Full) Head ¶
func (f *Full) Head(url string, data interface{}, headers HTTPHeader) ([]byte, error)
func (*Full) Options ¶
func (f *Full) Options(url string, data interface{}, headers HTTPHeader) ([]byte, error)
func (*Full) Patch ¶
func (f *Full) Patch(url string, data interface{}, headers HTTPHeader) ([]byte, error)
func (*Full) Post ¶
func (f *Full) Post(url string, data interface{}, headers HTTPHeader) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.