Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
cmd
|
|
|
gateway
command
Command gateway is the entry point for the goAthena gateway service (DEL-01).
|
Command gateway is the entry point for the goAthena gateway service (DEL-01). |
|
genpacket
command
Command genpacket reads rathena/src/map/clif_obfuscation.hpp and emits a Go source file containing the per-PACKETVER obfuscation key triplets.
|
Command genpacket reads rathena/src/map/clif_obfuscation.hpp and emits a Go source file containing the per-PACKETVER obfuscation key triplets. |
|
healthcheck
command
Command healthcheck is a minimal HTTP health probe for distroless containers.
|
Command healthcheck is a minimal HTTP health probe for distroless containers. |
|
identity
command
Command identity is the entry point for the goAthena identity service (DEL-02).
|
Command identity is the entry point for the goAthena identity service (DEL-02). |
|
migrate
command
Command migrate is a self-contained database migration runner.
|
Command migrate is a self-contained database migration runner. |
|
zone
command
Command zone is the entry point for the goAthena zone service (DEL-03).
|
Command zone is the entry point for the goAthena zone service (DEL-03). |
|
internal
|
|
|
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. |
|
app/gateway
Package gateway wires the gateway service composition root (DEL-01).
|
Package gateway wires the gateway service composition root (DEL-01). |
|
app/identity
Package identity wires the identity service composition root (DEL-02).
|
Package identity wires the identity service composition root (DEL-02). |
|
app/zone
Package zone wires the zone service composition root (DEL-03).
|
Package zone wires the zone service composition root (DEL-03). |
|
config
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. |
|
features/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. |
|
features/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. |
|
features/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). |
|
features/identity/di
Package di wires the identity feature into the DI container.
|
Package di wires the identity feature into the DI container. |
|
features/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. |
|
features/identity/domain/mock
Package domainmock is a generated GoMock package.
|
Package domainmock is a generated GoMock package. |
|
features/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. |
|
features/identity/repository
Package repository provides GORM-backed implementations of the identity domain ports.
|
Package repository provides GORM-backed implementations of the identity domain ports. |
|
features/identity/repository/mock
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
features/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. |
|
features/registry/di
Package di wires the registry feature (D22) into the DI container.
|
Package di wires the registry feature (D22) into the DI container. |
|
features/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). |
|
features/registry/domain/mock
Package domainmock is a generated GoMock package.
|
Package domainmock is a generated GoMock package. |
|
features/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). |
|
features/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. |
|
features/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. |
|
features/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. |
|
features/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. |
|
features/transit/di
Package di wires the transit feature (D23) into the DI container.
|
Package di wires the transit feature (D23) into the DI container. |
|
features/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). |
|
features/transit/domain/mock
Package domainmock is a generated GoMock package.
|
Package domainmock is a generated GoMock package. |
|
features/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). |
|
features/zone/di
Package di wires the zone feature into the DI container.
|
Package di wires the zone feature into the DI container. |
|
features/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. |
|
features/zone/domain/mock
Package domainmock is a generated GoMock package.
|
Package domainmock is a generated GoMock package. |
|
features/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). |
|
infrastructure/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. |
|
infrastructure/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. |
|
infrastructure/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. |
|
infrastructure/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). |
|
infrastructure/messaging/valkey
Package valkey wraps valkey-go client creation for the DI container.
|
Package valkey wraps valkey-go client creation for the DI container. |
|
infrastructure/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. |
|
shared/middleware
Echo access logging middleware.
|
Echo access logging middleware. |
|
shared/server
DI registration for shared servers and the application orchestrator.
|
DI registration for shared servers and the application orchestrator. |
|
shared/telemetry
DI registration for telemetry providers and the health registry.
|
DI registration for telemetry providers and the health registry. |
|
testutil
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. |
|
pkg
|
|
|
ro/aoi
Package aoi implements a tower-grid Area-of-Interest engine with 18×18 cell towers and adaptive squeezing for high-density scenes.
|
Package aoi implements a tower-grid Area-of-Interest engine with 18×18 cell towers and adaptive squeezing for high-density scenes. |
|
ro/crypto
Package crypto implements RO packet obfuscation used by the map server.
|
Package crypto implements RO packet obfuscation used by the map server. |
|
ro/packet
Package packet defines kRO packet structures, the packet database, and PACKETVER schema merge logic.
|
Package packet defines kRO packet structures, the packet database, and PACKETVER schema merge logic. |
|
ro/pathfinding
Package pathfinding implements A* pathfinding on a walkability grid.
|
Package pathfinding implements A* pathfinding on a walkability grid. |
|
ro/romap
Package romap implements loaders for RO map files (.gat, .rsw, .gnd) producing walkability and height grids.
|
Package romap implements loaders for RO map files (.gat, .rsw, .gnd) producing walkability and height grids. |
|
ro/script
Package script defines RO script types, opcodes, and scope namespace constants used by the script engine.
|
Package script defines RO script types, opcodes, and scope namespace constants used by the script engine. |
Click to show internal directories.
Click to hide internal directories.