Documentation ¶
Index ¶
- type AutoDoc
- func (this *AutoDoc) Create()
- func (this *AutoDoc) MakeAutoFile() (err error)
- func (this *AutoDoc) SetMethod(method string) *AutoDoc
- func (this *AutoDoc) SetRequest(param interface{}, requiredFields ...string) *AutoDoc
- func (this *AutoDoc) SetRequestCareField(fields ...string) *AutoDoc
- func (this *AutoDoc) SetRequestParam(requestParams []RequestParam) *AutoDoc
- func (this *AutoDoc) SetResponse(param interface{}) *AutoDoc
- func (this *AutoDoc) SetUrl(url string) *AutoDoc
- type RequestParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoDoc ¶
type AutoDoc struct {
// contains filtered or unexported fields
}
自动化文档
func NewAutoDoc ¶
func (*AutoDoc) SetRequest ¶
设置请求参数
func (*AutoDoc) SetRequestCareField ¶
func (*AutoDoc) SetRequestParam ¶
func (this *AutoDoc) SetRequestParam(requestParams []RequestParam) *AutoDoc
设置参数数据
Click to show internal directories.
Click to hide internal directories.