Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions adapter/clientcontext_manager.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package adapter

import "github.com/sagernet/sing-box/adapter"

Copy link

Copilot AI Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The exported interface ClientContextManager should have a documentation comment describing its purpose and usage. According to Go conventions, all exported types should have a doc comment that starts with the type name.

Suggested change
// ClientContextManager manages connection tracking for a client context by
// embedding a ConnectionTracker and allowing additional trackers to be appended.

Copilot uses AI. Check for mistakes.
type ClientContextManager interface {
adapter.ConnectionTracker
AppendTracker(adapter.ConnectionTracker)
}
Loading