-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from ascenmmo/stage
Stage
- Loading branch information
Showing
239 changed files
with
14,422 additions
and
7,427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,5 +22,4 @@ go.work | |
go.work.sum | ||
|
||
data | ||
.idea | ||
env | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ var ( | |
RunMultiplayer = true // Enable multiplayer mode | ||
RunAdminPanel = true // Enable admin panel | ||
MultiplayerPort = "8080" // Port for multiplayer mode | ||
MongoURL = "mongodb://username:[email protected]:27017/?maxPoolSize=20&w=majority" // MongoDB connection URL | ||
MongoURL = "mongodb://username:[email protected]:27017" // MongoDB connection URL | ||
MultiplayerMaxRequestPerSecond = 5 // Maximum requests per second for multiplayer mode | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ var ( | |
RunMultiplayer = true // Запуск многопользовательского режима | ||
RunAdminPanel = true // Запуск админки | ||
MultiplayerPort = "8080" // Порт для многопользовательского режима | ||
MongoURL = "mongodb://username:[email protected]:27017/?maxPoolSize=20&w=majority" // URL подключения к MongoDB | ||
MongoURL = "mongodb://username:[email protected]:27017" // URL подключения к MongoDB | ||
MultiplayerMaxRequestPerSecond = 5 // Максимальное количество запросов в секунду для многопользовательского режима | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,15 @@ package env | |
var ( | ||
ServerAddress = "ascenmmo.com" | ||
TokenKey = "_remember_token_mast_be_32_bytes" | ||
DebugLogs = true | ||
) | ||
|
||
var ( | ||
RunMultiplayer = true | ||
RunAdminPanel = true | ||
MultiplayerPort = "8080" | ||
MongoURL = "mongodb://username:[email protected]:27017/?maxPoolSize=20&w=majority" | ||
MultiplayerMaxRequestPerSecond = 5 | ||
MongoURL = "mongodb://username:[email protected]:27017" | ||
MultiplayerMaxRequestPerSecond = 100 | ||
) | ||
|
||
var ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package errors | ||
|
||
import "errors" | ||
|
||
var ( | ||
ErrTooManyRequests = errors.New("too many requests") | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.