[][src]Function cerk_port_unix_socket::port_output_unix_socket_json_start

pub fn port_output_unix_socket_json_start(
    id: InternalServerId,
    inbox: BoxedReceiver,
    sender_to_kernel: BoxedSender
)

This is the main function to start the port.

This port writes CloudEvents to a UNIX Socket.

Configurations

The Socket expects a Config::String as configuration. The string should be a file path where the UNIX Socket should be created.

e.g. Config::String(String::from("path/to/the/socket"))

Examples