func makeServer() trib.Server { if !*lab { return ref.NewServer() } rc, e := trib.LoadRC(*frc) ne(e) c := triblab.NewBinClient(rc.Backs) return triblab.NewFront(c) }
// Makes a front end that talks to one single backend // Used in Lab1 func MakeFrontSingle(back string) Server { return triblab.NewFront(triblab.NewBinClient([]string{back})) }