Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnConfig ¶
type ConnConfig struct { Name string // must be unique LocalID string LocalAddress []string LocalSubnets []string LocalNodeSubnets []string LocalCerts []string LocalType apis.EndpointType RemoteID string RemoteAddress []string RemoteSubnets []string RemoteNodeSubnets []string RemoteType apis.EndpointType RemotePort *uint // Whether this connection is used for mediation Mediation bool // whether is connection need mediation NeedMediation bool // check https://docs.strongswan.org/docs/5.9/swanctl/swanctlConf.html // for detailed explanation for MediatedBy and MediationPeer MediatedBy string MediationPeer string }
Click to show internal directories.
Click to hide internal directories.