Commit Graph

44 Commits

Author SHA1 Message Date
b8491e384d
Adds dummy prom metrics for alerting 2018-05-18 11:53:30 -07:00
78b1711cd9 update for modern assetfs 2016-02-23 13:59:40 -08:00
e71d11cd4d temporary fix for stats route 2015-08-30 23:25:26 -07:00
7818a64756 enable static asset serving
- It changes behavior depending on if STATIC is set.
- will need to run $(go generate ./...) before compiles will work
2015-08-26 23:16:12 -07:00
5cac75b638 Made info url more useful (start and uptime) 2015-08-26 22:25:38 -07:00
b5cac7c02a placed REST api behind /api/v0/ 2015-08-26 22:18:48 -07:00
446eba5209 vantiy urls
I've moved remote to https://s.mcquay.me/hackerbots/ and stood up routes for go
get on the hackerbots repos. I had to update the imports for this to take
effect.
2015-04-30 23:07:21 -07:00
f86bacbd69 Used the idg.Generator from github 2014-11-24 14:42:11 -08:00
3eb76009ad moved http routes out of the server main() 2014-11-24 14:32:27 -08:00
c9dfa27320 Add support for fixed object geometry
also updated config file
2014-05-11 21:49:06 -07:00
8f7ef5aa1a float32 -> float64 2014-04-26 15:36:04 -07:00
db28bfea11 Renamed obstacle -> obstacle count 2014-04-26 15:32:14 -07:00
72d0843ff8 Renamed package/directory 2014-04-23 14:28:13 -07:00
9e1cd272f7 Fixed warnings generated by go vet 2014-04-14 00:39:42 -07:00
faacfe7fd9 First pass at documentations. 2014-04-14 00:26:41 -07:00
a956162205 Plumbed Delta and the IdGenerator back through 2014-03-31 23:21:20 -07:00
0d11b8a0ba Added docs around MapLock, change visibility of methods
Removed unused global
2014-03-31 23:21:19 -07:00
e185365e2d moved MapLock to control 2014-03-31 23:21:19 -07:00
a3fa670c3d Fixed scoping issue
The bug here was that when you would try to start a game it would still be nil
after the block where g was redefined. Just me being sloppy.
2014-03-31 23:21:18 -07:00
81beee8b43 Put delete of game from controller in right place
Added some debugging
2014-03-31 23:21:16 -07:00
c8efd34080 ignore new binary
Create new bserv binary

Herein lie the following ideas:

- change package visibility of many things
- try to stash the globals into structs
- the code is far from correct; it merely compiles
2014-03-31 23:21:14 -07:00
a932d24683 Added a memprofile dump flag and mechanism 2014-03-08 15:29:08 -08:00
6fd4138740 added bw calcs
unfortunately there is an issue with how these are calculated, and they don't
decrease as things quiet down. Well, the bad numbers are their for your
consumption, and should Just Work TM when appropriate changes in
bitbucket.org/smcquay/bandwith land. And they will. But I'm tired now.
2014-03-03 22:56:26 -08:00
Fraser Graham
72d5a1a64c stats stats stats stats 2014-01-16 00:13:02 -08:00
Fraser Graham
3fa53daadb rewrite of the stats system 2014-01-16 00:02:59 -08:00
Fraser Graham
90b7731865 allow the control interface to specify game type 2014-01-15 22:16:06 -08:00
3bb710dd9c point limit parametrized 2013-11-29 01:10:49 -07:00
5a2651d0dd allow object specification 2013-11-16 19:57:13 -08:00
f6b3027ded minor: changed some logging 2013-11-16 18:56:15 -08:00
f8fb523a76 fixed some httpstatu.es 2013-11-15 08:54:52 -08:00
527042daa8 added logging for inability to kill 2013-11-14 00:02:26 -08:00
245c483f9e added simple game stats 2013-11-13 23:45:02 -08:00
aabda1cc90 added config file support 2013-11-13 20:38:57 -08:00
da26e1ca46 simplified some loops
These changes were done by running the following command:

    gofmt -s -w *.go
2013-11-09 21:52:06 -08:00
Fraser Graham
e39a97089e First pass of multibot support 2013-11-08 21:25:42 -08:00
c9ba660e7f added server info for the / route 2013-11-07 22:11:54 -08:00
caea45741f Added ability to configure game at creation time 2013-11-07 22:11:54 -08:00
c074397c1f bugfix for incorrect logic in game creation 2013-10-18 23:56:06 -07:00
d19b3f71fa added ability to autovivify games in debug mode 2013-10-18 20:49:57 -07:00
f4e2e84676 added more logging to control requests 2013-10-14 00:17:12 -07:00
e06f70aed6 go fmt 2013-09-28 23:03:42 -07:00
bd4cb39828 added profiling flag and kill channel 2013-09-28 23:00:29 -07:00
56c965add7 some clean up
Mainly adding some comments, and some function renaming
2013-09-28 12:59:17 -07:00
c5bddcdc31 renamed the file housing the http control protocol, removed defunct test 2013-09-28 12:53:18 -07:00