Documentation ¶
Index ¶
- func GetCurrentAbsPath() (string, bool)
- func GetWorkdir() string
- func NewHttpProxy(proxyAddress string) (*http.Transport, error)
- func NewProxyFromEnv() (*http.Transport, error)
- func NewSocksProxy(proxyAddress string) (*http.Transport, error)
- func SendError(c *gin.Context, err error)
- type ApiResponse
- type ErrorDescription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentAbsPath ¶
func GetWorkdir ¶
func GetWorkdir() string
func NewProxyFromEnv ¶
Types ¶
type ApiResponse ¶
type ApiResponse struct {
Error ErrorDescription `json:"error"`
}
type ErrorDescription ¶
Click to show internal directories.
Click to hide internal directories.