Documentation ¶
Index ¶
- Constants
- func After(value string, a string) string
- func Between(value string, a string, b string) string
- func CheckIfFileExist(path string) bool
- func CheckIfNotExistAndCreateFolder(name string)
- func ClearScreen()
- func DetectOS()
- func GeneratePath(str_size int) string
- func GetDateTime() string
- func PauseAwaitKeyPressed()
- func ReadLine() string
- func RemoveNewLineCharFromConnection(conn net.Conn)
- func RunServe()
- func TemplateTextReplace(IPAddress string, ServerPort string, FileNameCHAOS string, ...)
- func WaitForCtrlC()
- func WaitTime(sec time.Duration)
Constants ¶
View Source
const ( NEW_LINE string = "\n" BEGIN_NAME string = "chaos > " )
Variables ¶
This section is empty.
Functions ¶
func CheckIfFileExist ¶
func CheckIfNotExistAndCreateFolder ¶
func CheckIfNotExistAndCreateFolder(name string)
func ClearScreen ¶
func ClearScreen()
func GeneratePath ¶
func GetDateTime ¶
func GetDateTime() string
func PauseAwaitKeyPressed ¶
func PauseAwaitKeyPressed()
func TemplateTextReplace ¶
func WaitForCtrlC ¶
func WaitForCtrlC()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.