Documentation ¶
Index ¶
- func AddFileToZip(zipWriter *zip.Writer, filename string) error
- func CheckDomain(domain string) (bool, error)
- func Checkprocess(filename string)
- func Decrypt(key []byte, cryptoText string) string
- func DirExists(filename string) bool
- func Encrypt(key []byte, text string) string
- func FileExists(filename string) bool
- func FindIPaddress(cidr string, srcip string, destip string) (bool, error)
- func Inc(ip net.IP)
- func Ip2Long(ip string) uint32
- func IsDirEmpty(name string) (bool, error)
- func IsEmptyDir(name string) (bool, error)
- func Ldpaauthactivation(ldapurl string, username string, password string, bindstring string) (bool, error)
- func RadiusAuthActivation(radiusurl string, radisusername string, radispassword string, ...) (string, error)
- func RandomString(n int) (string, error)
- func ReadZipFile(zf *zip.File) ([]byte, error)
- func ResponseSendBuffer(filebuffer []byte, filename string, w http.ResponseWriter, ...)
- func ResponseSendFile(filepath string, filename string, w http.ResponseWriter)
- func ResponseSendFileWithType(filepath string, filename string, w http.ResponseWriter, contenttypearg string)
- func UnzipFile(src string, dest string) ([]string, error)
- func ZipFiles(filename string, files []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDomain ¶
func Checkprocess ¶
func Checkprocess(filename string)
func FileExists ¶
func IsDirEmpty ¶
func IsEmptyDir ¶
func Ldpaauthactivation ¶
func RadiusAuthActivation ¶
func RandomString ¶
func ResponseSendBuffer ¶
func ResponseSendBuffer(filebuffer []byte, filename string, w http.ResponseWriter, contenttypearg string)
func ResponseSendFile ¶
func ResponseSendFile(filepath string, filename string, w http.ResponseWriter)
func ResponseSendFileWithType ¶
func ResponseSendFileWithType(filepath string, filename string, w http.ResponseWriter, contenttypearg string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.