mirror of
https://github.com/renorris/openfsd
synced 2026-04-17 07:45:31 +08:00
v0.1.0-alpha
Changes:
- Implement bootstrapping library for managing several concurrent internal services
- Refactor concurrency model for connections/logical clients and their associated I/O
- Refactor server context singleton
- Refactor error handling
- Most errors are now gracefully sent to the FSD client directly encoded as an $ER packet,
enhancing visibility and debugging
- Most errors are now rightfully treated as non-fatal
- Refactor package/dependency graph
- Refactor calling conventions/interfaces for many packages
- Refactor database package
- Refactor post office
Features:
- Add VATSIM-esque HTTP/JSON "data feed"
- Add ephemeral in-memory database option
- Add user management REST API
- Add improved web interface
- Add MySQL support (drop SQLite support)
This commit is contained in:
@@ -8,8 +8,8 @@ var V *validator.Validate
|
||||
const (
|
||||
ClientQueryBroadcastRecipient = "@94835"
|
||||
ClientQueryBroadcastRecipientPilots = "@94386"
|
||||
Delimeter = ":"
|
||||
PacketDelimeter = "\r\n"
|
||||
Delimiter = ":"
|
||||
PacketDelimiter = "\r\n"
|
||||
ServerCallsign = "SERVER"
|
||||
)
|
||||
|
||||
@@ -23,22 +23,6 @@ const (
|
||||
NetworkFacilityCTR
|
||||
)
|
||||
|
||||
const (
|
||||
NetworkRatingUnknown = iota
|
||||
NetworkRatingOBS
|
||||
NetworkRatingS1
|
||||
NetworkRatingS2
|
||||
NetworkRatingS3
|
||||
NetworkRatingC1
|
||||
NetworkRatingC2
|
||||
NetworkRatingC3
|
||||
NetworkRatingI1
|
||||
NetworkRatingI2
|
||||
NetworkRatingI3
|
||||
NetworkRatingSUP
|
||||
NetworkRatingADM
|
||||
)
|
||||
|
||||
const (
|
||||
SimulatorTypeUnknown = iota
|
||||
SimulatorTypeMSFS95
|
||||
@@ -99,5 +83,6 @@ const (
|
||||
)
|
||||
|
||||
type PDU interface {
|
||||
Parse(string) error
|
||||
Serialize() string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user