Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enter ¶
type Enter[T any] struct{}
func (*Enter[T]) FormPost ¶ added in v1.0.4
func (e *Enter[T]) FormPost(url string, reqEntity T, headerEntity ...map[string]string) ([]byte, error)
FormPost 这里的contenttype只支持application/x-www-form-urlencoded, reqEntity这个可以是任意类型,reqEntity如果是结构体最好有设置json的tag
Click to show internal directories.
Click to hide internal directories.