update server package doc
This commit is contained in:
@ -6,15 +6,15 @@
|
|||||||
//
|
//
|
||||||
// A server is roughly divided into two parts: Gate and GamePlay
|
// A server is roughly divided into two parts: Gate and GamePlay
|
||||||
//
|
//
|
||||||
// +---------------------------------------------------------------------+
|
// +------------------------------------------------------------------------------+
|
||||||
// | Go-MC Server Framework |
|
// | Go-MC Server Framework |
|
||||||
// +--------------------------------------+------------------------------+
|
// |--------------------------------------+---------------------------------------|
|
||||||
// | Gate | GamePlay |
|
// | Gate | GamePlay |
|
||||||
// +--------------------+-----------------+ |
|
// |--------------------+-----------------+---------------+-----------------------|
|
||||||
// | LoginHandler | ListPingHandler | |
|
// | LoginHandler | ListPingHandler | Others.. |
|
||||||
// +--------------------+------------+----+---------------+--------------+
|
// |--------------------|------------+----+---------------|-----------------------+
|
||||||
// | MojangLoginHandler | PingInfo | PlayerList | Others.... |
|
// | MojangLoginHandler | PingInfo | PlayerList | [go-mc/server], etc. |
|
||||||
// +--------------------+------------+--------------------+--------------+
|
// +--------------------+------------+--------------------+-----------------------+
|
||||||
//
|
//
|
||||||
// Gate, which is used to respond to the client login request, provide login verification,
|
// Gate, which is used to respond to the client login request, provide login verification,
|
||||||
// respond to the List Ping Request and providing the online players' information.
|
// respond to the List Ping Request and providing the online players' information.
|
||||||
@ -23,7 +23,9 @@
|
|||||||
// (that is, after the LoginSuccess package is sent),
|
// (that is, after the LoginSuccess package is sent),
|
||||||
// and is responsible for functions including player status, chunk management, keep alive, chat, etc.
|
// and is responsible for functions including player status, chunk management, keep alive, chat, etc.
|
||||||
//
|
//
|
||||||
// The implement of Gameplay is provided at https://github.com/go-mc/server.
|
// The implement of Gameplay is provided at [go-mc/server]. You can also write your version.
|
||||||
|
//
|
||||||
|
// [go-mc/server]: https://github.com/go-mc/server
|
||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Reference in New Issue
Block a user