风扇滑翔翼
2025-11-20 23:53:42 +08:00
committed by GitHub
parent b24ef88a80
commit f9dd3aef72
4 changed files with 22 additions and 8 deletions

View File

@@ -26,3 +26,9 @@ type Dispatcher interface {
func DispatcherType() interface{} {
return (*Dispatcher)(nil)
}
// Just for type assertion
type WrapLinkDispatcher interface {
Dispatcher
WrapLink(ctx context.Context, link *transport.Link) *transport.Link
}