Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { // Network define the network protocol Network libptc.NetworkProtocol `` // Address define the address to connect Address string }
ClientConfig define the client configuration
type ServerConfig ¶
type ServerConfig struct { // network protocol Network libptc.NetworkProtocol `` // address to listen Address string // permission of owner for socket file PermFile os.FileMode // permission of group for socket file GroupPerm int32 }
ServerConfig define the server configuration
Click to show internal directories.
Click to hide internal directories.