19135ceb42
refactor: convert structs to interfaces and rename accessors
...
Docker Build and Push / build-and-push-branches (push) Has been skipped
Docker Build and Push / build-and-push-tags (push) Has been cancelled
- Convert struct types to interfaces
- Rename getter and setter methods
- Add Close method to server interface
- Merge handler functionality into session file
- Handle lifecycle.Connection().Wait()
- fix panic on nil connection in SSH server
2026-01-16 15:25:31 +07:00
dbdf8094fa
refactor: replace Get/Set patterns with idiomatic Go interfaces
...
Docker Build and Push / build-and-push-branches (push) Has been skipped
Docker Build and Push / build-and-push-tags (push) Successful in 13m4s
- rename constructors to New
- remove Get/Set-style accessors
- replace string-based enums with iota-backed types
2026-01-14 16:54:10 +07:00
ae3ed52d16
fix(port): add atomic ClaimPort() to prevent race condition
...
- Replace GetPortStatus/SetPortStatus calls with atomic ClaimPort() operation.
- Fixed a logic error when handling headless tunneling.
2026-01-14 16:51:50 +07:00
fb638636bf
refactor: consolidate error handling with fail() function in session handlers
...
- Replace repetitive error handling code with fail() function in HandleGlobalRequest
- Standardize error response pattern across all handler methods
- Improve code maintainability and reduce duplication
2026-01-14 16:51:50 +07:00
887ebf78b1
refactor(grpc/client): simplify processEventStream with per-event handlers
...
- Extract eventHandlers dispatch table
- Add per-event handlers: handleSlugChange, handleGetSessions, handleTerminateSession
- Introduce sendNode helper to centralize send/error handling and preserve connection-error propagation
- Add protoToTunnelType for tunnel-type validation
- Map unknown proto.TunnelType to types.UNKNOWN in protoToTunnelType and return a descriptive error
- Reduce boilerplate and improve readability of processEventStream
2026-01-14 16:51:50 +07:00
bef7a49f88
feat: implement forwarder session termination
2026-01-14 16:51:50 +07:00
17633b4e3c
refactor: inject SessionRegistry interface instead of individual functions
2026-01-14 16:51:50 +07:00
f25d61d1d1
update: proto file to v1.3.0
2026-01-14 16:51:50 +07:00
8782b77b74
feat(session): use session key for registry
2026-01-14 16:51:50 +07:00
fc3cd886db
fix: use correct environment variable key
2026-01-14 16:51:50 +07:00
b0da57db0d
fix: startup order
2026-01-14 16:51:50 +07:00
449f546e04
feat: implement sessions request from grpc server
2026-01-14 16:51:50 +07:00
4644420eee
feat: implement get sessions by user
2026-01-14 16:51:50 +07:00
c9bf9e62bd
feat(grpc): integrate slug edit handling
2026-01-14 16:51:50 +07:00
57d2136377
WIP: gRPC integration, initial implementation
2026-01-14 16:51:47 +07:00
8a34aaba80
WIP: gRPC integration, initial implementation
2026-01-14 16:51:35 +07:00
acd02aadd3
refactor: restructure project architecture
renovate / renovate (push) Successful in 45s
Docker Build and Push / build-and-push-branches (push) Successful in 5m54s
Docker Build and Push / build-and-push-tags (push) Successful in 6m21s
2025-12-31 15:49:37 +07:00
1d918ef2aa
feat(port): disable TCP forwarding by default and refactor port manager
renovate / renovate (push) Successful in 28s
Docker Build and Push / build-and-push (push) Successful in 5m27s
2025-12-28 19:03:26 +07:00
7bc5a01ba7
feat: add pprof for debuging
Docker Build and Push / build-and-push (push) Successful in 3m51s
2025-12-18 18:30:49 +07:00
342f58ddb9
fix: logic error in port checking
Docker Build and Push / build-and-push (push) Has been cancelled
2025-11-28 17:34:23 +07:00
d3a5007d68
refactor: separate session responsibilities and inject dependencies
Docker Build and Push / build-and-push (push) Has been cancelled
2025-11-28 13:29:43 +07:00
f85a05647e
fix: add thread safety to PortManager with mutex synchronization
Docker Build and Push / build-and-push (push) Successful in 3m40s
2025-07-22 13:11:03 +07:00
8c15da6131
feat: Support dynamic port allocation for SSH forwarding
Docker Build and Push / build-and-push (push) Failing after 42s
2025-07-21 13:07:42 +07:00