server

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PURPLE = "\033[0;35m"
	RED    = "\033[0;31m"
	BLUE   = "\033[0;34m"
	YELLOW = "\033[0;33m"
	RESET  = "\033[0m"
)

colors

View Source
const Version string = "0.2.2"

Version exported

Variables

This section is empty.

Functions

func LogDebug

func LogDebug(format string, a ...interface{})

LogDebug stylized debug logger

func LogError

func LogError(format string, a ...interface{})

LogError stylized error logger

func LogInfo

func LogInfo(format string, a ...interface{})

LogInfo stylized Info logger

func RandStringBytes

func RandStringBytes(n int) string

RandStringBytes return a random string bytes of size n

func Serve

func Serve(port string)

Serve exported

Types

type CodeData

type CodeData struct {
	Code string
}

CodeData exported

Jump to

Keyboard shortcuts

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