Documentation
¶
Index ¶
- Constants
- func BaseDir() string
- func BigIntSub(x, y *big.Int) *big.Int
- func ByteToUint(buff []byte) uint32
- func DoHttpJSONDataPost(jsonData []byte, url string) ([]byte, error)
- func FileExists(fileName string) (os.FileInfo, bool)
- func GetNowMsTime() int64
- func GetSavedConn(rAddr string, connSaver ConnSaver, timeOut time.Duration) (net.Conn, error)
- func InitLog(logPath string)
- func Int64Time2String(t int64) string
- func ReadPassWord2() (string, error)
- func Save2File(data []byte, filename string) error
- func TouchDir(dir string) error
- func UintToByte(val uint32) []byte
- type ConnSaver
Constants ¶
View Source
const (
DefaultBaseDir = ".simpleVPN"
)
Variables ¶
This section is empty.
Functions ¶
func ByteToUint ¶
func DoHttpJSONDataPost ¶ added in v1.2.1
func GetNowMsTime ¶
func GetNowMsTime() int64
func GetSavedConn ¶
func Int64Time2String ¶
func ReadPassWord2 ¶
func UintToByte ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.