Documentation ¶ Index ¶ Constants func RegisterWebFlags(f []cli.Flag) []cli.Flag type Web func NewWeb(c *cli.Context) *Web func (s *Web) Close() func (s *Web) Serve() error func (s *Web) ServeData(data string) (io.ReadCloser, string, error) func (s *Web) ServeRemote(data string) (io.ReadCloser, string, error) Constants ¶ View Source const ( WEB_HOST_FLAG = "host" WEB_PORT_FLAG = "port" ) Variables ¶ This section is empty. Functions ¶ func RegisterWebFlags ¶ func RegisterWebFlags(f []cli.Flag) []cli.Flag 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) Source Files ¶ View all Source files web.go Click to show internal directories. Click to hide internal directories.