Skip to content

Negaihoshi/simple-tcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple TCP Server Build Status

A simple TCP server that support mutiple connections.


setup mock api

the mock server using mockingjay server

Build application

$ go get github.com/quii/mockingjay-server
$ cd $GOPATH/src/github.com/quii/mockingjay-server
$ ./build.sh
$ cd simple-tcp-server
$ mockingjay-server -config=fake.yaml -monkeyConfig=monkey.yaml

more detail: https://github.com/quii/mockingjay-server


build tcp server

command

$ go build
$ ./server

build tcp client

command

$ go build
$ ./client

status

you can check server status when server is up.

default url: http://127.0.0.1:1337/status

$ curl -X GET http://127.0.0.1:1337/status

2018-12-10 3 38 08

About

A simple TCP server that support mutiple connections.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages