Documentation

Overview

    Package web is the entry point for the backend of the web interface of Elvish.

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var Program prog.Program = program{}

      Program is the web subprogram.

      Functions

      This section is empty.

      Types

      type ExecuteResponse

      type ExecuteResponse struct {
      	OutBytes  string
      	OutValues []interface{}
      	ErrBytes  string
      	Err       string
      }

      type Web

      type Web struct {
      	BinPath  string
      	SockPath string
      	DbPath   string
      	Port     int
      }

      func (*Web) Main

      func (web *Web) Main(fds [3]*os.File, _ []string) error