server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GoBuild        *string
	ReleaseGoBuild *string
)
View Source
var ErrNotFound = errors.New("not found")
View Source
var HtmlDir *string

Functions

func GetFile

func GetFile(file string, goBuild string) ([]byte, error)

func ReleaseZip

func ReleaseZip() ([]byte, error)

func Start

func Start(ctx context.Context, port int)

Types

type Handler

type Handler struct {
}

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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