Documentation ¶
Overview ¶
Package apis 预定义的各类型的 API 数据
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APIS = []*Collection{ { Name: "所有", Desc: "所有接口混合测试", APIS: make([]*API, 0, 1000), }, }
APIS 所有 API 的集体
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Method string // 请求方法 Brace string // {id} 风格的路由项 Colon string // :id 风格的路由项 Test string // 本条路由对应的测试地址 }
API 单个 API 接口的定义
type Collection ¶
Collection 表示一组 API 的定义。
Click to show internal directories.
Click to hide internal directories.