Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is the interface defining the Unix domain socket server. Implementations of this interface are the main type of this UDSServer package.
type ServerFactory ¶
type ServerFactory interface {
CreateServer(deviceType, user string, timeout int, udsFuzz bool) (Server, string, error)
}
ServerFactory is the interface defining a factory that creates and returns Servers. Each device plugin poolManager will have its own ServerFactory and each time a UDSServer container is created the factory will create a Server to serve the associated Unix domain socket.
func NewFakeServerFactory ¶
func NewFakeServerFactory() ServerFactory
NewFakeServerFactory returns a fake implementation of the ServerFactory interface.
func NewServerFactory ¶
func NewServerFactory() ServerFactory
NewServerFactory returns an implementation of the ServerFactory interface.
Click to show internal directories.
Click to hide internal directories.