keybase

package
v1.0.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2017 License: BSD-3-Clause, BSD-3-Clause Imports: 21 Imported by: 0

README

Bind

Go bindable package that includes both Keybase client and KBFS for gomobile builds.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 string) (string, error)

LogSend sends a log to Keybase

func ReadB64

func ReadB64() (string, error)

ReadB64 is a blocking read for base64 encoded msgpack rpc data. It is called serially by the mobile run loops.

func Reset

func Reset() error

Reset resets the socket connection

func Version added in v1.0.18

func Version() string

Version returns semantic version string

func WriteB64

func WriteB64(str string) error

WriteB64 sends a base64 encoded msgpack rpc payload

Types

type ExternalDNSNSFetcher added in v1.0.21

type ExternalDNSNSFetcher interface {
	GetServers() []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL