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 ¶ added in v1.3.5
func GetWorkdir ¶ added in v1.3.5
func GetWorkdir() string
func NewProxyFromEnv ¶ added in v1.3.7
func NewSocksProxy ¶ added in v1.3.7
Types ¶
type ApiResponse ¶
type ApiResponse struct {
Error ErrorDescription `json:"error"`
}
type ErrorDescription ¶
Click to show internal directories.
Click to hide internal directories.