Documentation ¶
Index ¶
- func GetBuildInfo() string
- func GetPacketTunnelDNSResolverIPv4Address() string
- func GetPacketTunnelDNSResolverIPv6Address() string
- func GetPacketTunnelMTU() int
- func NoticeUserLog(message string)
- func ReconnectTunnel()
- func SendFeedback(...) error
- func SetDynamicConfig(newSponsorID, newAuthorizationsList string)
- func SetNoticeFiles(homepageFilename, rotatingFilename string, ...) error
- func Start(configJson, embeddedServerEntryList, embeddedServerEntryListFilename string, ...) error
- func Stop()
- type PsiphonProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPacketTunnelDNSResolverIPv4Address ¶ added in v1.0.5
func GetPacketTunnelDNSResolverIPv4Address() string
func GetPacketTunnelDNSResolverIPv6Address ¶ added in v1.0.5
func GetPacketTunnelDNSResolverIPv6Address() string
func GetPacketTunnelMTU ¶ added in v1.0.5
func GetPacketTunnelMTU() int
func NoticeUserLog ¶ added in v1.0.5
func NoticeUserLog(message string)
func ReconnectTunnel ¶ added in v1.0.5
func ReconnectTunnel()
ReconnectTunnel initiates a reconnect of the current tunnel, if one is running.
func SendFeedback ¶
func SendFeedback(configJson, diagnosticsJson, b64EncodedPublicKey, uploadServer, uploadPath, uploadServerHeaders string) error
Encrypt and upload feedback.
func SetDynamicConfig ¶ added in v1.0.5
func SetDynamicConfig(newSponsorID, newAuthorizationsList string)
SetDynamicConfig overrides the sponsor ID and authorizations fields set in the config passed to Start. SetDynamicConfig has no effect if no Controller is started.
The input newAuthorizationsList is a space-delimited list of base64 authorizations. This is a workaround for gobind type limitations.
func SetNoticeFiles ¶ added in v1.0.5
Types ¶
Click to show internal directories.
Click to hide internal directories.