server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 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.0"

Variables

This section is empty.

Functions

func LogDebug

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

func LogError

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

func LogInfo

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

func RandStringBytes

func RandStringBytes(n int) string

RandStringBytes exported

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