Simplify names in cmd source
This commit is contained in:
parent
47c9752e5e
commit
c4a19a4e35
6 changed files with 17 additions and 17 deletions
|
|
@ -141,7 +141,7 @@ func SetupRoutes(ts graph.TripleStore, cfg *config.CayleyConfig) {
|
|||
http.Handle("/", r)
|
||||
}
|
||||
|
||||
func CayleyHTTP(ts graph.TripleStore, cfg *config.CayleyConfig) {
|
||||
func Serve(ts graph.TripleStore, cfg *config.CayleyConfig) {
|
||||
SetupRoutes(ts, cfg)
|
||||
glog.Infof("Cayley now listening on %s:%s\n", cfg.ListenHost, cfg.ListenPort)
|
||||
fmt.Printf("Cayley now listening on %s:%s\n", cfg.ListenHost, cfg.ListenPort)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue