httpoo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPoo

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

func LaunchHTTPoo

func LaunchHTTPoo(mode, cmdStop string) (instance *HTTPoo, err error)

func (*HTTPoo) Exit

func (instance *HTTPoo) Exit() (err error)

Exit application

func (*HTTPoo) Handle

func (instance *HTTPoo) Handle(method, endpoint string, auth *http.Authorization, handler webserver.HandlerCallback)

func (*HTTPoo) Join

func (instance *HTTPoo) Join()

func (*HTTPoo) LocalUrl

func (instance *HTTPoo) LocalUrl() string

func (*HTTPoo) Start

func (instance *HTTPoo) Start() (err error)

func (*HTTPoo) Stop

func (instance *HTTPoo) Stop() (err error)

Stop Try to close gracefully

type StopMonitor

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

func NewStopMonitor

func NewStopMonitor(roots []string, stopCmd string, events *lygo_events.Emitter) *StopMonitor

func (*StopMonitor) Start

func (instance *StopMonitor) Start()

func (*StopMonitor) Stop

func (instance *StopMonitor) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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