Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LaunchPeerServer ¶ added in v1.0.1
func LaunchPeerServer(cfg config.Properties) error
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 ¶
func NewFromConfig(cfg config.Properties) (*Server, error)
NewFromConfig returns a new server instance from given configuration.
Click to show internal directories.
Click to hide internal directories.