Documentation
¶
Index ¶
- Variables
- func CreateIssue(debugInfo string, genUrl bool, issueRequestStr string) (string, error)
- func CreateTicket(debugInfo string, ticketRequestStr string) error
- func DatabaseMessage(msg string)
- func DownloadPendingUpdates()
- func DownloadUpdatesOnWifiConnected()
- func EnableTunnel()
- func GetDebugInfo() (string, error)
- func GetDebugInfoFile()
- func GetLogs(ID int64) []logs.LogLine
- func IsGeoIPDataAvailable() (bool, error)
- func IsOnWifiNetwork() bool
- func IsTunnelActive() bool
- func NewApkAvaliable() bool
- func PerformRequest(call PluginCall)
- func RestartTunnel()
- func Shutdown()
- func SubscribeToDatabase(call PluginCall)
- type PluginCall
- type Request
- type ResponseWriter
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Database api.DatabaseAPI
)
Functions ¶
func CreateIssue ¶
func CreateTicket ¶
func DatabaseMessage ¶
func DatabaseMessage(msg string)
func DownloadPendingUpdates ¶
func DownloadPendingUpdates()
func DownloadUpdatesOnWifiConnected ¶
func DownloadUpdatesOnWifiConnected()
func EnableTunnel ¶
func EnableTunnel()
func GetDebugInfo ¶
func GetDebugInfoFile ¶
func GetDebugInfoFile()
func IsGeoIPDataAvailable ¶
func IsOnWifiNetwork ¶
func IsOnWifiNetwork() bool
func IsTunnelActive ¶
func IsTunnelActive() bool
func NewApkAvaliable ¶
func NewApkAvaliable() bool
func PerformRequest ¶
func PerformRequest(call PluginCall)
func RestartTunnel ¶
func RestartTunnel()
func SubscribeToDatabase ¶
func SubscribeToDatabase(call PluginCall)
Types ¶
type PluginCall ¶
type PluginCall = engine.PluginCall
type ResponseWriter ¶
type ResponseWriter struct {
// contains filtered or unexported fields
}
func NewResponseWriter ¶
func NewResponseWriter() *ResponseWriter
func (*ResponseWriter) Header ¶
func (w *ResponseWriter) Header() http.Header
func (*ResponseWriter) WriteHeader ¶
func (w *ResponseWriter) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.