1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/transport/internet/udp/dispatcher.go

15 lines
297 B
Go
Raw Normal View History

2016-06-14 16:54:08 -04:00
package udp
2016-02-01 10:36:33 -05:00
import (
"context"
2021-12-31 16:22:16 -05:00
2021-12-11 18:05:19 -05:00
"github.com/v2fly/v2ray-core/v5/common"
"github.com/v2fly/v2ray-core/v5/common/buf"
"github.com/v2fly/v2ray-core/v5/common/net"
2016-02-01 10:36:33 -05:00
)
type DispatcherI interface {
2021-12-11 18:05:19 -05:00
common.Closable
Dispatch(ctx context.Context, destination net.Destination, payload *buf.Buffer)
2019-01-05 15:43:22 -05:00
}