Documentation ¶
Index ¶
- func HandleHome(w http.ResponseWriter, r *http.Request)
- func HandleOutput(w http.ResponseWriter, r *http.Request)
- func HandleStart(w http.ResponseWriter, r *http.Request)
- func HandleUpload(w http.ResponseWriter, r *http.Request)
- func Run(configFile string)
- type Args
- type Master
- type Message
- type PathArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleHome ¶
func HandleHome(w http.ResponseWriter, r *http.Request)
func HandleOutput ¶
func HandleOutput(w http.ResponseWriter, r *http.Request)
func HandleStart ¶
func HandleStart(w http.ResponseWriter, r *http.Request)
func HandleUpload ¶
func HandleUpload(w http.ResponseWriter, r *http.Request)
Types ¶
type Master ¶
type Master struct { Slaves []string IdleSlaves []string BusySlaves []string ReduceDataPort int InputF string InputDelim byte MapDir string ReduceDir string Username string PEMFile string IsRunning bool // contains filtered or unexported fields }
func NewMaster ¶
func NewMaster(config configparser.Config) *Master
func (*Master) Controller ¶
func (m *Master) Controller()
func (*Master) FileServer ¶
func (m *Master) FileServer()
Click to show internal directories.
Click to hide internal directories.