Documentation ¶
Index ¶
- func CreateCollection(uid uint, req view.CreateHttpTestCollection) (collection view.HttpTestCollection, err error)
- func CreateUseCase(uid uint, req view.CreateHttpTestCase) (useCase view.HttpTestCase, err error)
- func DeleteCollection(uid, id uint) (err error)
- func DeleteUseCase(uid uint, useCaseID uint) (err error)
- func GetUseCase(id uint) (useCase view.HttpTestCase, err error)
- func Init(opt Option)
- func ListCollection(uid uint, req view.ListHttpCollection) (resp view.RespListHttpTestCollection, err error)
- func RequestHistory(uid uint, param view.ReqListHttpTestHistory) (resp view.RespListHttpTestHistory, err error)
- func RequestHistoryDetail(historyID uint) (detail view.HttpTestLog, err error)
- func SendRequest(uid uint, param view.ReqSendHttpRequest) (res view.HttpTestResponse, err error)
- func UpdateUseCase(uid uint, useCase view.HttpTestCase) (err error)
- type HttpResponse
- type Option
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCollection ¶
func CreateCollection(uid uint, req view.CreateHttpTestCollection) (collection view.HttpTestCollection, err error)
func CreateUseCase ¶
func CreateUseCase(uid uint, req view.CreateHttpTestCase) (useCase view.HttpTestCase, err error)
func DeleteCollection ¶
func DeleteUseCase ¶
func GetUseCase ¶
func GetUseCase(id uint) (useCase view.HttpTestCase, err error)
func ListCollection ¶
func ListCollection(uid uint, req view.ListHttpCollection) (resp view.RespListHttpTestCollection, err error)
func RequestHistory ¶
func RequestHistory(uid uint, param view.ReqListHttpTestHistory) (resp view.RespListHttpTestHistory, err error)
func RequestHistoryDetail ¶
func RequestHistoryDetail(historyID uint) (detail view.HttpTestLog, err error)
func SendRequest ¶
func SendRequest(uid uint, param view.ReqSendHttpRequest) (res view.HttpTestResponse, err error)
func UpdateUseCase ¶
func UpdateUseCase(uid uint, useCase view.HttpTestCase) (err error)
Types ¶
type HttpResponse ¶ added in v0.4.0
type Request ¶ added in v0.4.0
type Request struct { *resty.Request // contains filtered or unexported fields }
func NewRequest ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.