server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const Version string = "1.1.0"

Version string

Variables

This section is empty.

Functions

func IndexFileServer added in v0.2.3

func IndexFileServer() http.Handler

IndexFileServer read the static html and return the http handler

func RandStringBytes

func RandStringBytes(n int) string

RandStringBytes return a random string bytes of size n

func Serve

func Serve(port string, debug bool)

Serve the main function running the echo server

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