Documentation
¶
Index ¶
- func AddSepIfNeeded(url string) (ret string)
- func CrsAuth() context.Handler
- func Get(url string) (ret []byte, err error)
- func GetCheckForward(url string) (ret []byte, isForward bool, err error)
- func IsSuccessCode(code int) (success bool)
- func Post(url string, data interface{}) (ret []byte, err error)
- func PostOrPut(url string, method string, data interface{}) (ret []byte, err error)
- func Put(url string, data interface{}) (ret []byte, err error)
- type PageResult
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSepIfNeeded ¶
func IsSuccessCode ¶
Types ¶
type PageResult ¶
type PageResult struct { Items interface{} `json:"items"` Total int64 `json:"totalPage"` }
Click to show internal directories.
Click to hide internal directories.