I'm probably asking super stupid question since I have no experience on GOlang.
I have a GO project and I want to run it on my local server on my ubuntu 14.04. I have installed Go server and Go agent and they are running.
hesam: ~ $ sudo /etc/init.d/go-server start
[sudo] password for hesam:
using default settings from /etc/default/go-server
Started Go Server on http://hesam:8153/go
hesam: ~ $ sudo /etc/init.d/go-agent start
[Fri Nov 27 20:46:44 MST 2015] using default settings from /etc/default/go-agent
Started Go Agent.
hesam: ~ $
Based on what command line said /var/go/
is the folder that I can use to put my GO project inside. Based on what I know in Apache server there is www
folder that we will have access to from localhost. So, I'm expecting something like this with Go server (but seems I'm wrong).
My project contains some folders such as client
, config
, protocol
, server' and two files
chat.jsonand
main.go. I thought
main.goacts as
index.html` or similar.
So, any idea to how I'm able run the project on server would be appreciated. Thanks.