Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // ServerPIDs maps remote server address:port to remote server PID ServerPIDs map[netip.AddrPort]PID // PIDClients maps remote client PID to local server address:port PIDClients map[PID][]netip.AddrPort // PeerPIDs is a list of all remote PIDs that are // either clients or servers for the local PID PeerPIDs []PID LocalPID PID Threads int }
func ParseConfig ¶
ParseConfig parses MPC TOML config file, and pre-calculates address <-> PID mappings for easy lookup.
Click to show internal directories.
Click to hide internal directories.