Documentation ¶
Index ¶
- func SetAccessList(s []string) func(samtunnel.SAMTunnel) error
- func SetAccessListType(s string) func(samtunnel.SAMTunnel) error
- func SetAllowZeroIn(b bool) func(samtunnel.SAMTunnel) error
- func SetAllowZeroOut(b bool) func(samtunnel.SAMTunnel) error
- func SetCloseIdle(b bool) func(samtunnel.SAMTunnel) error
- func SetCloseIdleTime(u int) func(samtunnel.SAMTunnel) error
- func SetCloseIdleTimeMs(u int) func(samtunnel.SAMTunnel) error
- func SetCompress(b bool) func(samtunnel.SAMTunnel) error
- func SetDestination(s string) func(samtunnel.SAMTunnel) error
- func SetEncrypt(b bool) func(samtunnel.SAMTunnel) error
- func SetFastRecieve(b bool) func(samtunnel.SAMTunnel) error
- func SetFilePath(s string) func(samtunnel.SAMTunnel) error
- func SetHost(s string) func(samtunnel.SAMTunnel) error
- func SetInBackups(u int) func(samtunnel.SAMTunnel) error
- func SetInLength(u int) func(samtunnel.SAMTunnel) error
- func SetInQuantity(u int) func(samtunnel.SAMTunnel) error
- func SetInVariance(i int) func(samtunnel.SAMTunnel) error
- func SetKeyFile(s string) func(samtunnel.SAMTunnel) error
- func SetLeaseSetKey(s string) func(samtunnel.SAMTunnel) error
- func SetLeaseSetPrivateKey(s string) func(samtunnel.SAMTunnel) error
- func SetLeaseSetPrivateSigningKey(s string) func(samtunnel.SAMTunnel) error
- func SetMessageReliability(s string) func(samtunnel.SAMTunnel) error
- func SetName(s string) func(samtunnel.SAMTunnel) error
- func SetOutBackups(u int) func(samtunnel.SAMTunnel) error
- func SetOutLength(u int) func(samtunnel.SAMTunnel) error
- func SetOutQuantity(u int) func(samtunnel.SAMTunnel) error
- func SetOutVariance(i int) func(samtunnel.SAMTunnel) error
- func SetPassword(s string) func(samtunnel.SAMTunnel) error
- func SetPort(s string) func(samtunnel.SAMTunnel) error
- func SetReduceIdle(b bool) func(samtunnel.SAMTunnel) error
- func SetReduceIdleQuantity(u int) func(samtunnel.SAMTunnel) error
- func SetReduceIdleTime(u int) func(samtunnel.SAMTunnel) error
- func SetReduceIdleTimeMs(u int) func(samtunnel.SAMTunnel) error
- func SetSAMHost(s string) func(samtunnel.SAMTunnel) error
- func SetSAMPort(s string) func(samtunnel.SAMTunnel) error
- func SetSaveFile(b bool) func(samtunnel.SAMTunnel) error
- func SetSigType(s string) func(samtunnel.SAMTunnel) error
- func SetTLSConfigCertPem(s string) func(samtunnel.SAMTunnel) error
- func SetTLSConfigKeysPem(s string) func(samtunnel.SAMTunnel) error
- func SetType(s string) func(samtunnel.SAMTunnel) error
- func SetUseTLS(b bool) func(samtunnel.SAMTunnel) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAccessList ¶
SetAccessList tells the system to treat the AccessList as a allowlist
func SetAccessListType ¶
SetAccessListType tells the system to treat the AccessList as a allowlist
func SetAllowZeroIn ¶
SetAllowZeroIn tells the tunnel to accept zero-hop peers
func SetAllowZeroOut ¶
SetAllowZeroOut tells the tunnel to accept zero-hop peers
func SetCloseIdle ¶
SetCloseIdle tells the connection to close it's tunnels during extended idle time.
func SetCloseIdleTime ¶
SetCloseIdleTime sets the time to wait before closing tunnels to idle levels
func SetCloseIdleTimeMs ¶
SetCloseIdleTimeMs sets the time to wait before closing tunnels to idle levels in milliseconds
func SetCompress ¶
SetCompress tells clients to use compression
func SetEncrypt ¶
SetEncrypt tells the router to use an encrypted leaseset
func SetFastRecieve ¶
SetFastRecieve tells clients to use compression
func SetFilePath ¶
SetFilePath sets the path to save the config file at.
func SetInBackups ¶
SetInBackups sets the inbound tunnel backups
func SetInLength ¶
SetInLength sets the number of hops inbound
func SetInQuantity ¶
SetInQuantity sets the inbound tunnel quantity
func SetInVariance ¶
SetInVariance sets the variance of a number of hops inbound
func SetLeaseSetKey ¶
SetLeaseSetKey sets the host of the SAMForwarder's SAM bridge
func SetLeaseSetPrivateKey ¶
SetLeaseSetPrivateKey sets the host of the SAMForwarder's SAM bridge
func SetLeaseSetPrivateSigningKey ¶
SetLeaseSetPrivateSigningKey sets the host of the SAMForwarder's SAM bridge
func SetMessageReliability ¶
SetMessageReliability sets the host of the SAMForwarder's SAM bridge
func SetOutBackups ¶
SetOutBackups sets the inbound tunnel backups
func SetOutLength ¶
SetOutLength sets the number of hops outbound
func SetOutQuantity ¶
SetOutQuantity sets the outbound tunnel quantity
func SetOutVariance ¶
SetOutVariance sets the variance of a number of hops outbound
func SetReduceIdle ¶
SetReduceIdle tells the connection to reduce it's tunnels during extended idle time.
func SetReduceIdleQuantity ¶
SetReduceIdleQuantity sets minimum number of tunnels to reduce to during idle time
func SetReduceIdleTime ¶
SetReduceIdleTime sets the time to wait before reducing tunnels to idle levels
func SetReduceIdleTimeMs ¶
SetReduceIdleTimeMs sets the time to wait before reducing tunnels to idle levels in milliseconds
func SetSAMHost ¶
SetSAMHost sets the host of the SAMForwarder's SAM bridge
func SetSAMPort ¶
SetSAMPort sets the port of the SAMForwarder's SAM bridge using a string
func SetSaveFile ¶
SetSaveFile tells the router to save the tunnel's keys long-term
func SetSigType ¶
SetSigType sets the type of the forwarder server