Files
gocryptotrader/restful_handlers.go
2017-03-30 14:05:32 +11:00

12 lines
146 B
Go

package main
import (
"fmt"
"net/http"
)
func Index(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, bot.exchanges[0].GetName())
}