Documentation
¶
Index ¶
- func ParseDepFile(content []byte) ([]string, []string)
- type Command
- type Error
- type Graph
- func (g *Graph) Intern(s string) *String
- func (g *Graph) Lookup(s string) *String
- func (g *Graph) Serve(addr string) error
- func (g *Graph) ServeCommand(w http.ResponseWriter, req *http.Request)
- func (g *Graph) ServeErrors(w http.ResponseWriter, req *http.Request)
- func (g *Graph) ServeRoot(w http.ResponseWriter, req *http.Request)
- func (g *Graph) ServeTarget(w http.ResponseWriter, req *http.Request)
- func (g *Graph) ServeTargets(w http.ResponseWriter, req *http.Request)
- type String
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDepFile ¶
parse a "target: dep" file.
Types ¶
type Command ¶
type Graph ¶
type Graph struct { TargetByWrite map[*String]*Target TargetByName map[*String]*Target CommandByID map[*String]*Command CommandByWrite map[string]*Command Errors []Error UsedEdges map[edge]struct{} // contains filtered or unexported fields }
func (*Graph) ServeCommand ¶
func (g *Graph) ServeCommand(w http.ResponseWriter, req *http.Request)
func (*Graph) ServeErrors ¶
func (g *Graph) ServeErrors(w http.ResponseWriter, req *http.Request)
func (*Graph) ServeTarget ¶
func (g *Graph) ServeTarget(w http.ResponseWriter, req *http.Request)
func (*Graph) ServeTargets ¶
func (g *Graph) ServeTargets(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.