Documentation
¶
Index ¶
- func AppPath() string
- func AppTempFile(elem ...string) string
- func FileContents(filename string) []byte
- func FileExists(files ...string) bool
- func FileWriteContent(filename string, data []byte) error
- func FrpCloseRecover(svr *client.Service)
- func FrpTermSignal(svr *client.Service)
- func HashFile(filename string) (string, error)
- func HttpDelete(requestUrl string, requestBody []byte) (int, []byte, error)
- func HttpGet(requestUrl string, params ...url.Values) (int, []byte, error)
- func HttpPost(requestUrl string, requestBody []byte) (int, []byte, error)
- func IWantUseHttpPort(port ...int) int
- func IsIntranet(address string) (bool, error)
- func StringToBytes(str string) []byte
- func StringToInt(str string) int
- func ToJsonString(v any) string
- func WaitInput(tips ...string) string
- func WaitInputExit(tips ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppTempFile ¶
func FileContents ¶
func FileExists ¶
func FileWriteContent ¶
func FrpCloseRecover ¶
func FrpTermSignal ¶
func IWantUseHttpPort ¶
func IsIntranet ¶
func StringToBytes ¶
func StringToInt ¶
func ToJsonString ¶
func WaitInputExit ¶
func WaitInputExit(tips ...string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.