Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is the basic primitive of the API, holding the actual application calls and pipes
func NewAPI ¶
func NewAPI(arg RunOptions) *API
type RunOptions ¶
type RunOptions struct { KeybaseLoction string HomeDir string Username string PaperKey string EnableTyping bool BotLiteMode bool ChannelCapacity int }
RunOptions holds... run... options...
func (RunOptions) Location ¶
func (r RunOptions) Location() string
Location attempts to find the location of the keybase binary in the following order: 1. What the user has specified as the location [user specified] 2. Looks up the binary location using exec.LookPath [default] 3. Returns "keybase" and hopes its pathed on the users system [fallback]
Click to show internal directories.
Click to hide internal directories.