Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataServer ¶
DataServer is responsible for exchanging file metadata with game clients in order to determine whether or not the client's files match the known patch files. If any of the patch file checksums do not equal the checksums of their corresponding client files (or do not exist), this server allows the client to download the correct file contents and forces a restart.
func (DataServer) Identifier ¶
func (s DataServer) Identifier() string
func (*DataServer) SetUpClient ¶
func (s *DataServer) SetUpClient(c *client.Client)
type Server ¶
type Server struct { Name string Config *core.Config Logger *logrus.Logger // contains filtered or unexported fields }
Server is the PATCH server implementation. It is extremely simple and for the most part only exists as a first point of contact for the client, its chief responsibility being to send clients the address of the DATA server.
func (*Server) Identifier ¶
func (*Server) SetUpClient ¶
Click to show internal directories.
Click to hide internal directories.