utils

package module
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Monitor

func Monitor(logger *logger.LoggerEntry)

func ShowSysStat

func ShowSysStat(prefix, reqId string, maxMem int, logger *logger.LoggerEntry)

Types

type CustomError

type CustomError struct {
	Errno int
	Msg   string
	Data  interface{}
}

func NewError

func NewError(errno int, msg string) *CustomError

func (*CustomError) Error

func (e *CustomError) Error() string

type UtilsTool

type UtilsTool struct {
	Name   string
	Debug  []string
	Logger *logger.LoggerEntry
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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