Directories
¶
| Path | Synopsis |
|---|---|
|
app
|
|
|
common
Package common provides shared bootstrap utilities used by all service composition roots: version metadata and signal handling.
|
Package common provides shared bootstrap utilities used by all service composition roots: version metadata and signal handling. |
|
gateway
Package gateway wires the gateway service composition root (DEL-01).
|
Package gateway wires the gateway service composition root (DEL-01). |
|
identity
Package identity wires the identity service composition root (DEL-02).
|
Package identity wires the identity service composition root (DEL-02). |
|
zone
Package zone wires the zone service composition root (DEL-03).
|
Package zone wires the zone service composition root (DEL-03). |
|
Package config loads application configuration from config.yaml and environment variables.
|
Package config loads application configuration from config.yaml and environment variables. |
|
features
|
|
|
gateway/di
Package di wires the gateway feature into the DI container.
|
Package di wires the gateway feature into the DI container. |
|
gateway/domain
Package domain contains entities and port interfaces for the gateway feature (WS-A): packet codec, TCP/WS ingress, gRPC routing.
|
Package domain contains entities and port interfaces for the gateway feature (WS-A): packet codec, TCP/WS ingress, gRPC routing. |
|
gateway/handler
Package handler contains transport-layer adapters for the gateway feature (WS-A): the gnet TCP event handler and the WebSocket upgrade handler for the kRO / roBrowser client ingress.
|
Package handler contains transport-layer adapters for the gateway feature (WS-A): the gnet TCP event handler and the WebSocket upgrade handler for the kRO / roBrowser client ingress. |
|
gateway/service
Package service contains use-case implementations for the gateway feature (WS-A).
|
Package service contains use-case implementations for the gateway feature (WS-A). |
|
identity/di
Package di wires the identity feature into the DI container.
|
Package di wires the identity feature into the DI container. |
|
identity/domain
Package domain contains entities and port interfaces for the identity feature (WS-B): login, character CRUD, warehouse locking.
|
Package domain contains entities and port interfaces for the identity feature (WS-B): login, character CRUD, warehouse locking. |
|
identity/domain/mock
Package domainmock is a generated GoMock package.
|
Package domainmock is a generated GoMock package. |
|
identity/handler
Package handler contains transport-layer adapters for the identity feature (WS-B): the gRPC server that implements identityv1.IdentityService and is invoked by the gateway (gRPC) and identity echo endpoints.
|
Package handler contains transport-layer adapters for the identity feature (WS-B): the gRPC server that implements identityv1.IdentityService and is invoked by the gateway (gRPC) and identity echo endpoints. |
|
identity/repository
Package repository provides GORM-backed implementations of the identity domain ports.
|
Package repository provides GORM-backed implementations of the identity domain ports. |
|
identity/repository/mock
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
identity/service
Package service contains the use-case implementations for the identity feature (WS-B): login authentication, character roster retrieval.
|
Package service contains the use-case implementations for the identity feature (WS-B): login authentication, character roster retrieval. |
|
registry/di
Package di wires the registry feature (D22) into the DI container.
|
Package di wires the registry feature (D22) into the DI container. |
|
registry/domain
Package domain declares the inbound and outbound ports for the cross-zone character registry (D22).
|
Package domain declares the inbound and outbound ports for the cross-zone character registry (D22). |
|
registry/domain/mock
Package domainmock is a generated GoMock package.
|
Package domainmock is a generated GoMock package. |
|
registry/service
Package service is the Valkey-backed implementation of the registry port (D22).
|
Package service is the Valkey-backed implementation of the registry port (D22). |
|
script
Package script implements the rAthena script engine (WS-D): lexer, parser, stack-based bytecode VM, and hot-reload controller.
|
Package script implements the rAthena script engine (WS-D): lexer, parser, stack-based bytecode VM, and hot-reload controller. |
|
script/compiler
Package compiler walks a rAthena-script AST and emits bytecode instructions for the script VM.
|
Package compiler walks a rAthena-script AST and emits bytecode instructions for the script VM. |
|
script/di
Package di wires the script engine into the zone service's DI container.
|
Package di wires the script engine into the zone service's DI container. |
|
script/parser
Package parser converts a flat token stream into a rAthena-script AST.
|
Package parser converts a flat token stream into a rAthena-script AST. |
|
transit/di
Package di wires the transit feature (D23) into the DI container.
|
Package di wires the transit feature (D23) into the DI container. |
|
transit/domain
Package domain declares the inbound and outbound ports for the cross-zone transit handshake (D23).
|
Package domain declares the inbound and outbound ports for the cross-zone transit handshake (D23). |
|
transit/domain/mock
Package domainmock is a generated GoMock package.
|
Package domainmock is a generated GoMock package. |
|
transit/service
Package service is the implementation of the cross-zone transit handshake (D23).
|
Package service is the implementation of the cross-zone transit handshake (D23). |
|
zone/di
Package di wires the zone feature into the DI container.
|
Package di wires the zone feature into the DI container. |
|
zone/domain
Package domain contains entities and port interfaces for the zone feature (WS-C): map instances, AOI tower-grid, tick loop, pathfinding.
|
Package domain contains entities and port interfaces for the zone feature (WS-C): map instances, AOI tower-grid, tick loop, pathfinding. |
|
zone/domain/mock
Package domainmock is a generated GoMock package.
|
Package domainmock is a generated GoMock package. |
|
zone/service
Package service implements the zone service use-case layer: entity registration, A* path requests, AOI queries, and the Agones lifecycle integration driven by player count.
|
Package service implements the zone service use-case layer: entity registration, A* path requests, AOI queries, and the Agones lifecycle integration driven by player count. |
|
infrastructure
|
|
|
agones
Package agones wraps the Agones Go SDK for GameServer lifecycle management (Ready, Allocate, Shutdown, Health).
|
Package agones wraps the Agones Go SDK for GameServer lifecycle management (Ready, Allocate, Shutdown, Health). |
|
assets
Package assets provides the GRF archive decoder, LRU asset cache, and EUC-KR<->UTF-8 text conversion for game data files.
|
Package assets provides the GRF archive decoder, LRU asset cache, and EUC-KR<->UTF-8 text conversion for game data files. |
|
db
Package db wires database (MariaDB/MySQL or PostgreSQL) infrastructure into the DI container.
|
Package db wires database (MariaDB/MySQL or PostgreSQL) infrastructure into the DI container. |
|
db/migrations
Package migrations embeds SQL migration files so cmd/migrate is self-contained.
|
Package migrations embeds SQL migration files so cmd/migrate is self-contained. |
|
messaging/nats
Package nats wires the NATS pub/sub client into the DI container for inter-service communication (transit, social, broadcast).
|
Package nats wires the NATS pub/sub client into the DI container for inter-service communication (transit, social, broadcast). |
|
messaging/valkey
Package valkey wraps valkey-go client creation for the DI container.
|
Package valkey wraps valkey-go client creation for the DI container. |
|
net
Package net provides the kRO packet stream codec shared between the gateway and zone services.
|
Package net provides the kRO packet stream codec shared between the gateway and zone services. |
|
shared
|
|
|
errors
Package errors provides a typed, shared boundary error type and mappers to HTTP and gRPC status codes.
|
Package errors provides a typed, shared boundary error type and mappers to HTTP and gRPC status codes. |
|
middleware
Echo access logging middleware.
|
Echo access logging middleware. |
|
server
DI registration for shared servers and the application orchestrator.
|
DI registration for shared servers and the application orchestrator. |
|
telemetry
DI registration for telemetry providers and the health registry.
|
DI registration for telemetry providers and the health registry. |
|
Package testutil provides small helpers for HTTP handler and end-to-end tests.
|
Package testutil provides small helpers for HTTP handler and end-to-end tests. |
Click to show internal directories.
Click to hide internal directories.