server

package
v0.0.0-...-0adad2b Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func GetDefaultServer

func GetDefaultServer() *Server

func (*Server) AddValueFile

func (s *Server) AddValueFile(name string, b []byte) string

Adds a value file and returns the URL to it.

func (*Server) HandleValueFileRequest

func (s *Server) HandleValueFileRequest(resp http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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