Documentation
¶
Index ¶
- Variables
- func Get(t *testing.T, token string, urlPath string, data ...interface{}) (*gtoken.DefaultResponse, error)
- func GetToken(t *testing.T) (newToken string, err error)
- func GetTokenPair(t *testing.T) (*auth.LoginOutput, error)
- func Post(t *testing.T, token string, urlPath string, data ...interface{}) (*gtoken.DefaultResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Get ¶
func Get(t *testing.T, token string, urlPath string, data ...interface{}) (*gtoken.DefaultResponse, error)
Get contains the logic of login
func GetTokenPair ¶ added in v1.2.0
func GetTokenPair(t *testing.T) (*auth.LoginOutput, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.