Commit Graph

4 Commits

Author SHA1 Message Date
Tyler Compton
6277af4790 Pass server configuration as an argument
The ServerCommonConf is now passed around as an argument instead of
being shared between components as a global variable. This allows for
more natural interaction with server.Session as a library and allows for
multiple servers to co-exist within the same process.

Related: #1387
2019-08-19 15:52:08 -07:00
fatedier
9c4ec56491 support proxy protocol 2019-03-29 19:01:18 +08:00
fatedier
48990da22e go vet 2019-01-31 16:49:23 +08:00
fatedier
611d063e1f server: adjust code structure 2019-01-15 00:11:08 +08:00