Documentation ¶
Index ¶
- func AutoLogin(id int) (map[string]interface{}, error)
- func Clean()
- func GuardBearerJWT(c *gin.Context)
- func Port(t *testing.T) int
- func Prepare(t *testing.T, cfg config.Config)
- func Start(t *testing.T, guards map[string]gin.HandlerFunc, cfg config.Config)
- func Stop()
- type Request
- func (r *Request) Data(data map[string]interface{}) *Request
- func (r *Request) Get() (*Response, error)
- func (r *Request) Header(key string, value string) *Request
- func (r *Request) Param(key string, value string) *Request
- func (r *Request) Post() (*Response, error)
- func (r *Request) Route(route string) *Request
- func (r *Request) Send() (*Response, error)
- func (r *Request) Token(token string) *Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request request
Click to show internal directories.
Click to hide internal directories.