Documentation
¶
Index ¶
- func AppendToFile(filename string, data string)
- func CatchPanic(err *error, goRoutine string, functionName string)
- func CheckAndCreateDirectory(dirName string) error
- func CountOpenFiles() int
- func GetValueFromMap(key string, mapObj map[string]interface{})
- func NowAsUnixMilli() int64
- func Read(s net.Conn) ([]byte, error)
- func SetLimit()
- func TurnLoggingOff()
- func Write(s net.Conn, data []byte) error
- func WriteToFile(filename string, data string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendToFile ¶
func CatchPanic ¶
CatchPanic is used to catch any Panic and log exceptions to Stdout. It will also write the stack trace.
func CheckAndCreateDirectory ¶
func CountOpenFiles ¶
func CountOpenFiles() int
func GetValueFromMap ¶
func NowAsUnixMilli ¶
func NowAsUnixMilli() int64
func WriteToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.