├── Procfile ├── vendor ├── github.com │ ├── Sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── terminal_bsd.go │ │ │ ├── terminal_solaris.go │ │ │ ├── terminal_linux.go │ │ │ ├── hooks │ │ │ ├── syslog │ │ │ │ ├── syslog_test.go │ │ │ │ └── README.md │ │ │ └── test │ │ │ │ └── test_test.go │ │ │ ├── terminal_notwindows.go │ │ │ ├── doc.go │ │ │ ├── examples │ │ │ ├── hook │ │ │ │ └── hook.go │ │ │ └── basic │ │ │ │ └── basic.go │ │ │ ├── terminal_windows.go │ │ │ ├── json_formatter.go │ │ │ ├── LICENSE │ │ │ ├── hooks.go │ │ │ ├── writer.go │ │ │ └── formatters │ │ │ └── logstash │ │ │ └── logstash_test.go │ ├── gin-gonic │ │ └── gin │ │ │ ├── wercker.yml │ │ │ ├── .gitignore │ │ │ ├── logo.jpg │ │ │ ├── examples │ │ │ ├── app-engine │ │ │ │ ├── app.yaml │ │ │ │ ├── README.md │ │ │ │ └── hello.go │ │ │ ├── realtime-advanced │ │ │ │ ├── rooms.go │ │ │ │ └── main.go │ │ │ └── realtime-chat │ │ │ │ ├── rooms.go │ │ │ │ └── main.go │ │ │ ├── binding │ │ │ ├── example │ │ │ │ └── test.proto │ │ │ ├── xml.go │ │ │ ├── json.go │ │ │ ├── protobuf.go │ │ │ └── default_validator.go │ │ │ ├── helpers_test.go │ │ │ ├── ginS │ │ │ └── README.md │ │ │ ├── deprecated.go │ │ │ ├── render │ │ │ ├── data.go │ │ │ ├── xml.go │ │ │ ├── redirect.go │ │ │ ├── yaml.go │ │ │ ├── text.go │ │ │ ├── render.go │ │ │ └── json.go │ │ │ ├── .travis.yml │ │ │ ├── mode_test.go │ │ │ ├── Godeps │ │ │ └── Godeps.json │ │ │ ├── fs.go │ │ │ ├── LICENSE │ │ │ └── recovery_test.go │ ├── urfave │ │ └── cli │ │ │ ├── .gitignore │ │ │ ├── autocomplete │ │ │ ├── zsh_autocomplete │ │ │ └── bash_autocomplete │ │ │ ├── altsrc │ │ │ ├── helpers_test.go │ │ │ └── input_source_context.go │ │ │ ├── appveyor.yml │ │ │ ├── cli.go │ │ │ ├── helpers_test.go │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── category.go │ │ │ ├── errors_test.go │ │ │ └── funcs.go │ ├── googollee │ │ ├── go-engine.io │ │ │ ├── parser │ │ │ │ ├── parser.go │ │ │ │ └── limit_reader.go │ │ │ ├── message │ │ │ │ └── message.go │ │ │ ├── .travis.yml │ │ │ ├── example │ │ │ │ ├── asset │ │ │ │ │ ├── style.css │ │ │ │ │ └── index.html │ │ │ │ └── main.go │ │ │ ├── polling │ │ │ │ ├── xhr.go │ │ │ │ ├── try_locker.go │ │ │ │ ├── writer.go │ │ │ │ └── try_locker_test.go │ │ │ ├── websocket │ │ │ │ └── websocket.go │ │ │ ├── sessions_test.go │ │ │ ├── sessions.go │ │ │ └── ioutil.go │ │ └── go-socket.io │ │ │ ├── .travis.yml │ │ │ ├── main.go │ │ │ ├── ioutil.go │ │ │ ├── trim_writer.go │ │ │ ├── helper_test.go │ │ │ ├── namespace.go │ │ │ └── message_reader.go │ ├── manucorporat │ │ └── sse │ │ │ ├── .travis.yml │ │ │ ├── writer.go │ │ │ └── LICENSE │ ├── moul │ │ ├── shikaku │ │ │ ├── contrib │ │ │ │ └── docker │ │ │ │ │ └── Dockerfile │ │ │ ├── cmd │ │ │ │ └── appspot │ │ │ │ │ ├── app.yaml │ │ │ │ │ └── .playground │ │ │ ├── .goxc.json │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── LICENSE │ │ └── http2curl │ │ │ ├── Godeps │ │ │ ├── Readme │ │ │ └── Godeps.json │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── Makefile │ │ │ └── LICENSE │ ├── golang │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ └── .gitignore │ ├── gorilla │ │ └── websocket │ │ │ ├── AUTHORS │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ ├── examples │ │ │ ├── autobahn │ │ │ │ ├── README.md │ │ │ │ └── fuzzingclient.json │ │ │ ├── filewatch │ │ │ │ └── README.md │ │ │ ├── echo │ │ │ │ └── README.md │ │ │ ├── command │ │ │ │ └── README.md │ │ │ └── chat │ │ │ │ ├── README.md │ │ │ │ ├── main.go │ │ │ │ └── hub.go │ │ │ ├── conn_read.go │ │ │ ├── bench_test.go │ │ │ ├── conn_read_legacy.go │ │ │ └── LICENSE │ └── parnurzeal │ │ └── gorequest │ │ ├── .travis.yml │ │ ├── .gitignore │ │ └── LICENSE ├── golang.org │ └── x │ │ └── net │ │ ├── codereview.cfg │ │ ├── http2 │ │ ├── .gitignore │ │ ├── h2demo │ │ │ ├── rootCA.srl │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── README │ │ │ └── server.crt │ │ ├── Makefile │ │ ├── not_go15.go │ │ ├── go15.go │ │ ├── not_go16.go │ │ ├── errors_test.go │ │ ├── README │ │ ├── gotrack_test.go │ │ └── flow.go │ │ ├── .gitignore │ │ ├── html │ │ ├── charset │ │ │ └── testdata │ │ │ │ ├── UTF-16BE-BOM.html │ │ │ │ ├── UTF-16LE-BOM.html │ │ │ │ └── README │ │ ├── testdata │ │ │ └── webkit │ │ │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ │ │ ├── scripted │ │ │ │ ├── adoption01.dat │ │ │ │ └── webkit01.dat │ │ │ │ ├── adoption02.dat │ │ │ │ ├── inbody01.dat │ │ │ │ ├── isindex.dat │ │ │ │ ├── tests4.dat │ │ │ │ └── tests24.dat │ │ ├── example_test.go │ │ └── entity_test.go │ │ ├── README │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── ipv4 │ │ ├── thunk_linux_386.s │ │ ├── sockopt_stub.go │ │ ├── sys_stub.go │ │ ├── payload.go │ │ ├── mocktransponder_test.go │ │ ├── sockopt_asmreqn_stub.go │ │ ├── sockopt_ssmreq_stub.go │ │ ├── icmp_stub.go │ │ ├── helper_stub.go │ │ ├── control_stub.go │ │ ├── sockopt_asmreq_stub.go │ │ ├── icmp_linux.go │ │ ├── zsys_netbsd.go │ │ ├── zsys_openbsd.go │ │ ├── control_windows.go │ │ ├── zsys_dragonfly.go │ │ ├── genericopt_stub.go │ │ ├── syscall_unix.go │ │ ├── syscall_linux_386.go │ │ ├── control_pktinfo.go │ │ ├── defs_netbsd.go │ │ ├── defs_openbsd.go │ │ ├── defs_dragonfly.go │ │ ├── helper.go │ │ ├── control_bsd.go │ │ ├── sockopt_asmreqn_unix.go │ │ ├── sys_openbsd.go │ │ ├── helper_unix.go │ │ ├── sys_bsd.go │ │ └── iana.go │ │ ├── ipv6 │ │ ├── thunk_linux_386.s │ │ ├── sys_stub.go │ │ ├── sockopt_stub.go │ │ ├── payload.go │ │ ├── helper_stub.go │ │ ├── sockopt_ssmreq_stub.go │ │ ├── icmp_stub.go │ │ ├── control_stub.go │ │ ├── icmp_solaris.go │ │ ├── sockopt_asmreq_windows.go │ │ ├── sockopt_asmreq_unix.go │ │ ├── icmp_windows.go │ │ ├── icmp_linux.go │ │ ├── mocktransponder_test.go │ │ ├── control_windows.go │ │ ├── icmp_bsd.go │ │ ├── syscall_unix.go │ │ ├── genericopt_stub.go │ │ ├── helper.go │ │ ├── syscall_linux_386.go │ │ ├── helper_unix.go │ │ └── helper_windows.go │ │ ├── internal │ │ └── nettest │ │ │ ├── rlimit_windows.go │ │ │ ├── rlimit_stub.go │ │ │ ├── error_stub.go │ │ │ ├── rlimit.go │ │ │ ├── stack_stub.go │ │ │ ├── rlimit_unix.go │ │ │ ├── stack_unix.go │ │ │ ├── error_posix.go │ │ │ ├── stack.go │ │ │ └── stack_windows.go │ │ ├── icmp │ │ ├── sys_freebsd.go │ │ ├── ipv6.go │ │ ├── listen_stub.go │ │ ├── timeexceeded.go │ │ ├── dstunreach.go │ │ ├── echo.go │ │ ├── messagebody.go │ │ └── packettoobig.go │ │ ├── .gitattributes │ │ ├── proxy │ │ └── direct.go │ │ ├── webdav │ │ └── internal │ │ │ └── xml │ │ │ └── README │ │ ├── context │ │ ├── ctxhttp │ │ │ ├── cancelreq.go │ │ │ └── cancelreq_go14.go │ │ └── withtimeout_test.go │ │ ├── websocket │ │ ├── examplehandler_test.go │ │ └── exampledial_test.go │ │ ├── CONTRIBUTING.md │ │ ├── trace │ │ └── trace_test.go │ │ ├── idna │ │ └── idna_test.go │ │ ├── netutil │ │ └── listen.go │ │ └── PATENTS └── gopkg.in │ ├── go-playground │ └── validator.v8 │ │ ├── logo.png │ │ ├── .gitignore │ │ ├── LICENSE │ │ └── examples │ │ └── custom │ │ └── custom.go │ └── yaml.v2 │ ├── .travis.yml │ └── suite_test.go ├── bolosseum.go ├── rancher └── Bolosseum │ ├── rancher-compose.yml │ └── docker-compose.yml ├── renovate.json ├── .dockerignore ├── .travis.yml ├── Dockerfile ├── stupid-ias ├── stupid-ias.go ├── russianbullet │ └── russianbullet.go ├── guessnumber │ └── guessnumber.go ├── coinflip │ └── coinflip.go ├── tictactoe │ └── tictactoe.go └── connectfour │ └── connectfour.go ├── sdks └── go │ └── golang-sdk.go ├── games ├── bots-based-game.go └── game.go ├── docker-compose.yml ├── test ├── russianbullet.sh ├── coinflip.sh └── coinflip.py ├── .gitignore ├── pkg └── log │ ├── bolosseum_logger.go │ └── log.go ├── glide.yaml ├── bots ├── stupidbot │ └── stupidbot.go ├── stdinbot │ └── stdinbot.go └── filebot │ └── filebot.go ├── LICENSE ├── circle.yml └── Makefile /Procfile: -------------------------------------------------------------------------------- 1 | web: bolosseum server --bind-address=:$PORT 2 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/default -------------------------------------------------------------------------------- /vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/rootCA.srl: -------------------------------------------------------------------------------- 1 | E2CE26BF3285059C 2 | -------------------------------------------------------------------------------- /bolosseum.go: -------------------------------------------------------------------------------- 1 | package bolosseum 2 | 3 | var VERSION = "0.0.0+dev" 4 | -------------------------------------------------------------------------------- /rancher/Bolosseum/rancher-compose.yml: -------------------------------------------------------------------------------- 1 | bolosseum-server: 2 | scale: 2 3 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "config:base" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | Dockerfile 2 | #vendor/ 3 | .git 4 | *~ 5 | .#* 6 | *# 7 | /bolosseum 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/googollee/go-engine.io/parser/parser.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | const Protocol = 3 4 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/.gitignore: -------------------------------------------------------------------------------- 1 | Godeps/* 2 | !Godeps/Godeps.json 3 | coverage.out 4 | count.out 5 | -------------------------------------------------------------------------------- /vendor/github.com/manucorporat/sse/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.3 5 | - 1.4 6 | - tip 7 | -------------------------------------------------------------------------------- /vendor/github.com/moul/shikaku/contrib/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | ADD ./shikaku /shikaku 3 | ENTRYPOINT ["/shikaku"] 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moul/bolosseum/master/vendor/github.com/gin-gonic/gin/logo.jpg -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/.gitignore: -------------------------------------------------------------------------------- 1 | h2demo 2 | h2demo.linux 3 | client-id.dat 4 | client-secret.dat 5 | token.dat 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/go-playground/validator.v8/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moul/bolosseum/master/vendor/gopkg.in/go-playground/validator.v8/logo.png -------------------------------------------------------------------------------- /rancher/Bolosseum/docker-compose.yml: -------------------------------------------------------------------------------- 1 | bolosseum-server: 2 | labels: 3 | io.rancher.container.pull_image: always 4 | tty: true 5 | image: moul/bolosseum:latest 6 | -------------------------------------------------------------------------------- /vendor/github.com/googollee/go-socket.io/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 1.5 3 | install: 4 | - go get "github.com/smartystreets/goconvey/convey" 5 | - go get -v . 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | go_import_path: gopkg.in/yaml.v2 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moul/bolosseum/master/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moul/bolosseum/master/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /vendor/github.com/moul/shikaku/cmd/appspot/app.yaml: -------------------------------------------------------------------------------- 1 | application: shikaku 2 | version: 1 3 | runtime: go 4 | api_version: go1 5 | 6 | handlers: 7 | - url: / 8 | script: _go_app 9 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/examples/app-engine/app.yaml: -------------------------------------------------------------------------------- 1 | application: hello 2 | version: 1 3 | runtime: go 4 | api_version: go1 5 | 6 | handlers: 7 | - url: /.* 8 | script: _go_app -------------------------------------------------------------------------------- /vendor/github.com/googollee/go-engine.io/message/message.go: -------------------------------------------------------------------------------- 1 | package message 2 | 3 | type MessageType int 4 | 5 | const ( 6 | MessageText MessageType = iota 7 | MessageBinary 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/README: -------------------------------------------------------------------------------- 1 | This repository holds supplementary Go networking libraries. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | 3 | services: 4 | - docker 5 | 6 | script: 7 | - docker build -t moul/bolosseum . 8 | - docker run -it --rm moul/bolosseum bolosseum run tictactoe stupid stupid 9 | -------------------------------------------------------------------------------- /vendor/github.com/moul/http2curl/Godeps/Readme: -------------------------------------------------------------------------------- 1 | This directory tree is generated automatically by godep. 2 | 3 | Please do not edit. 4 | 5 | See https://github.com/tools/godep for more information. 6 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.14 2 | COPY . /go/src/github.com/moul/bolosseum 3 | WORKDIR /go/src/github.com/moul/bolosseum 4 | RUN go install -v ./cmd/bolosseum 5 | CMD ["bolosseum", "server"] 6 | EXPOSE 9000 7 | -------------------------------------------------------------------------------- /vendor/github.com/googollee/go-engine.io/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 1.5 3 | install: 4 | - go get "github.com/smartystreets/goconvey/convey" 5 | - go get -v . 6 | script: 7 | - go test -race -v ./... 8 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/autocomplete/zsh_autocomplete: -------------------------------------------------------------------------------- 1 | autoload -U compinit && compinit 2 | autoload -U bashcompinit && bashcompinit 3 | 4 | script_dir=$(dirname $0) 5 | source ${script_dir}/bash_autocomplete 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/googollee/go-socket.io/main.go: -------------------------------------------------------------------------------- 1 | /* 2 | go-socket.io is a server implementation of socket.io in golang. 3 | 4 | It is compatible with the official Node.js implementation. 5 | */ 6 | package socketio 7 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/moul/shikaku/cmd/appspot/.playground: -------------------------------------------------------------------------------- 1 | { 2 | "project_name": "Shikaku", 3 | "project_description": "Shikaku generator", 4 | "show_files": [ 5 | "app.go", 6 | "app.yaml" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /stupid-ias/stupid-ias.go: -------------------------------------------------------------------------------- 1 | package stupidias 2 | 3 | import "github.com/moul/bolosseum/bots" 4 | 5 | type StupidIA interface { 6 | Init(bots.QuestionMessage) *bots.ReplyMessage 7 | PlayTurn(bots.QuestionMessage) *bots.ReplyMessage 8 | } 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/suite_test.go: -------------------------------------------------------------------------------- 1 | package yaml_test 2 | 3 | import ( 4 | . "gopkg.in/check.v1" 5 | "testing" 6 | ) 7 | 8 | func Test(t *testing.T) { TestingT(t) } 9 | 10 | type S struct{} 11 | 12 | var _ = Suite(&S{}) 13 | -------------------------------------------------------------------------------- /sdks/go/golang-sdk.go: -------------------------------------------------------------------------------- 1 | package bolosseumbot 2 | 3 | import "github.com/moul/bolosseum/bots" 4 | 5 | type BolosseumBot interface { 6 | Init(bots.QuestionMessage) *bots.ReplyMessage 7 | PlayTurn(bots.QuestionMessage) *bots.ReplyMessage 8 | } 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat: -------------------------------------------------------------------------------- 1 | #data 2 |