Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamFactory ¶
type StreamFactory struct {
// contains filtered or unexported fields
}
func NewStreamFactory ¶
func NewStreamFactory(logger *zap.Logger, opts ...StreamFactoryOpt) *StreamFactory
func (*StreamFactory) OnConnection ¶
func (m *StreamFactory) OnConnection(conn *connection.Connection) connection.StreamProcessor
type StreamFactoryOpt ¶
type StreamFactoryOpt func(*StreamFactory)
func SetDnsManager ¶
func SetDnsManager(manager *dns.DNSManager) StreamFactoryOpt
func SetPluginManager ¶
func SetPluginManager(manager *plugins.Manager) StreamFactoryOpt
Click to show internal directories.
Click to hide internal directories.