api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevServer

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

func New

func New() *DevServer

func (*DevServer) Connect

func (ds *DevServer) Connect(w http.ResponseWriter, r *http.Request)

func (*DevServer) Error

func (ds *DevServer) Error(w http.ResponseWriter, r *http.Request)

func (*DevServer) Reload

func (ds *DevServer) Reload(w http.ResponseWriter, r *http.Request)

func (*DevServer) SendError

func (ds *DevServer) SendError(mes string)

func (*DevServer) SendErrorBytes

func (ds *DevServer) SendErrorBytes(mes []byte)

func (*DevServer) SendReload

func (ds *DevServer) SendReload()

func (*DevServer) StartServer

func (ds *DevServer) StartServer(port string, pathToIndex string) error

Jump to

Keyboard shortcuts

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