Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option is the functional option for creating a server
func WithTLSFromFile ¶
WithTLSFromFile sets the tls config for the server from the given key pair file
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the dfdaemon server
func NewFromConfig ¶
NewFromConfig returns a new server instance from given configuration
Click to show internal directories.
Click to hide internal directories.