Documentation ¶
Overview ¶
Package servertest 为 server 提供一些简便的测试方
Index ¶
- func Delete(a *assert.Assertion, path string) *rest.Request
- func Get(a *assert.Assertion, path string) *rest.Request
- func NewRequest(a *assert.Assertion, method, path string) *rest.Request
- func Post(a *assert.Assertion, path string, body []byte) *rest.Request
- func Run(a *assert.Assertion, s Server) func()
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.