Documentation ¶
Index ¶
- func AppDidEnterBackground() bool
- func AppWillExit()
- func BackgroundSync()
- func ForceGC()
- func HandleBackgroundNotification(strConvID string, intMembersType int, intMessageID int, pushID string, ...) (err error)
- func Init(homeDir string, logFile string, runModeStr string, accessGroupOverride bool, ...) error
- func InitOnce(homeDir string, logFile string, runModeStr string, accessGroupOverride bool, ...)
- func LogSend(status string, feedback string, sendLogs bool, uiLogPath, traceDir string) (string, error)
- func ReadB64() (string, error)
- func Reset() error
- func SetAppStateBackground()
- func SetAppStateBackgroundActive()
- func SetAppStateForeground()
- func SetAppStateInactive()
- func Version() string
- func WriteB64(str string) error
- type ExternalDNSNSFetcher
- type PushNotifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppDidEnterBackground ¶ added in v1.0.48
func AppDidEnterBackground() bool
AppDidEnterBackground notifies the service that the app is in the background [iOS] returning true will request about ~3mins from iOS to continue execution
func AppWillExit ¶ added in v1.0.48
func AppWillExit()
AppWillExit is called reliably on iOS when the app is about to terminate not as reliably on android
func BackgroundSync ¶
func BackgroundSync()
func Init ¶
func Init(homeDir string, logFile string, runModeStr string, accessGroupOverride bool, externalDNSNSFetcher ExternalDNSNSFetcher) error
Init runs the Keybase services
func InitOnce ¶
func InitOnce(homeDir string, logFile string, runModeStr string, accessGroupOverride bool, dnsNSFetcher ExternalDNSNSFetcher)
InitOnce runs the Keybase services (only runs one time)
func LogSend ¶
func LogSend(status string, feedback string, sendLogs bool, uiLogPath, traceDir string) (string, error)
LogSend sends a log to Keybase
func ReadB64 ¶
ReadB64 is a blocking read for base64 encoded msgpack rpc data. It is called serially by the mobile run loops.
func SetAppStateBackground ¶ added in v1.0.48
func SetAppStateBackground()
func SetAppStateBackgroundActive ¶ added in v1.0.48
func SetAppStateBackgroundActive()
func SetAppStateForeground ¶ added in v1.0.48
func SetAppStateForeground()
func SetAppStateInactive ¶ added in v1.0.48
func SetAppStateInactive()
Types ¶
type ExternalDNSNSFetcher ¶ added in v1.0.21
type ExternalDNSNSFetcher interface {
GetServers() []byte
}
Click to show internal directories.
Click to hide internal directories.