- **app/realy/handleWebsocket.go**:
- Modified `Server` struct initialization to use `server.I` instead of `server.S`.
- **protocol/socketapi/handleEvent.go**:
- Updated `HandleEvent` method to accept `server.I` for improved interface consistency.
- **app/realy/server-impl.go**:
- Added the `PublicReadable` method to the `Server` struct.
- Replaced `server.S` references with `server.I` to align with updated interface.
- **protocol/relayinfo/types.go**:
- Fixed typo in error message from "realy" to "relay".
- **protocol/socketapi/handleMessage.go**:
- Replaced `server.S` references with `server.I` in event handling methods.
- **protocol/socketapi/handleClose.go**:
- Updated `HandleClose` method to use `server.I`.
- **protocol/socketapi/handleReq.go**:
- Updated `HandleReq` method signature to accept `server.I`.
- **app/realy/server.go**:
- Introduced `publicReadable` field in the `Server` struct.
- Updated `NewServer` to handle `PublicReadable` parameter from `ServerParams`.
- **protocol/socketapi/socketapi.go**:
- Changed `server.S` to `server.I` across the WebSocket logic for consistency.
- **version/version**:
- Downgraded version file from `v1.14.3` to `v0.1.1`.
- **version/version.go**:
- Corrected `URL` constant from `https://orly` to `https://orly.dev`.
- **interfaces/server/server.go**:
- Renamed interface `S` to `I`.
- Added `PublicReadable` to the renamed `I` interface.
- **main.go**:
- Introduced logging of `PublicReadable` support when starting the server.
- Updated imports and initialization to align with added features.
- **app/config/config.go**:
- Added `PublicReadable` flag in configuration struct and environment settings.
- **protocol/socketapi/pinger.go**:
- Modified `Pinger` method to use `server.I`.
- **protocol/socketapi/handleAuth.go**:
- Adjusted `HandleAuth` logic to utilize `server.I`.
- **app/resources.go**:
- Introduced a new initialization flow reflecting updated server settings.