Documentation
¶
Index ¶
- Constants
- func NewOutbound(logger *log.Logger, newConfig *config.Outbound) (adapter.Outbound, error)
- func Sniff(logger *log.Logger, conn bufio.PeekConn, metadata *adapter.Metadata, ...)
- type Plain
- func (o *Plain) DialContext(ctx context.Context, network string, address string) (net.Conn, error)
- func (o *Plain) DialContextWithMetadata(ctx context.Context, network string, address string, ...) (net.Conn, error)
- func (o *Plain) Name() (name string)
- func (o *Plain) PostInitialize(router adapter.Router, provider adapter.RouteResourceProvider) error
- func (o *Plain) Reload(options adapter.OutboundReloadOptions) error
- type SnifferFunc
Constants ¶
View Source
const ( SniffTypeUndefined = "" SniffTypeAll = "all" SniffTypeMinecraft = "minecraft" SniffTypeTLS = "tls" )
Variables ¶
This section is empty.
Functions ¶
func NewOutbound ¶
Types ¶
type Plain ¶
type Plain struct {
// contains filtered or unexported fields
}
func (*Plain) DialContext ¶
func (*Plain) DialContextWithMetadata ¶
func (*Plain) PostInitialize ¶
Click to show internal directories.
Click to hide internal directories.