services

package
v0.0.0-...-30e3733 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WEB_HOST_FLAG = "host"
	WEB_PORT_FLAG = "port"
)

Variables

This section is empty.

Functions

func RegisterWebFlags

func RegisterWebFlags(c *cli.App)

Types

type Web

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

func NewWeb

func NewWeb(c *cli.Context) *Web

func (*Web) Close

func (s *Web) Close()

func (*Web) Serve

func (s *Web) Serve() error

func (*Web) ServeData

func (s *Web) ServeData(data string) (io.ReadCloser, string, error)

func (*Web) ServeRemote

func (s *Web) ServeRemote(data string) (io.ReadCloser, string, error)

Jump to

Keyboard shortcuts

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