Documentation ¶
Index ¶
- func Get(url, token string) (ret []byte, err error)
- func GetCheckForward(url, token string) (ret []byte, isForward bool, err error)
- func IsSuccessCode(code int) (success bool)
- func Login() (ret string)
- func Post(url, token string, data interface{}) (ret []byte, err error)
- func PostOrPut(url, token string, method string, data interface{}) (ret []byte, err error)
- func Put(url, token string, data interface{}) (ret []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCheckForward ¶
func IsSuccessCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.