util

package
v0.0.0-...-e805ddf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NEW_LINE   string = "\n"
	BEGIN_NAME string = "chaos > "
)

Variables

This section is empty.

Functions

func After

func After(value string, a string) string

func CheckIfFileExist

func CheckIfFileExist(path string) bool

func CheckIfNotExistAndCreateFolder

func CheckIfNotExistAndCreateFolder(name string)

func ClearScreen

func ClearScreen()

func DetectOS

func DetectOS()

func GeneratePath

func GeneratePath(str_size int) string

func GetDateTime

func GetDateTime() string

func PauseAwaitKeyPressed

func PauseAwaitKeyPressed()

func ReadLine

func ReadLine() string

func RemoveNewLineCharFromConnection

func RemoveNewLineCharFromConnection(conn net.Conn)

func RunServe

func RunServe()

func TemplateTextReplace

func TemplateTextReplace(IPAddress string, ServerPort string, FileNameCHAOS string, NameFolderExtesion string, SourceCodeName string, NameTemplate string)

func WaitForCtrlC

func WaitForCtrlC()

func WaitTime

func WaitTime(sec time.Duration)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL