Discover Packages
github.com/keybase/bot-sshca
src
keybaseca
bot
package
Version:
v0.0.0-...-1b8ee3a
Opens a new window with list of versions in this module.
Published: Jun 20, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AnnouncementTemplateValues struct {
Username string
CurrentTeam string
Teams []string
}
Bot is a SSH CA Keybase-backed bot
New creates a new Bot with a Keybase chat API
func (b *Bot ) DeleteAllClientConfigs() error
DeleteAllClientConfigs deletes all found kssh configs for all teams the
CA bot is a member of
LogError logs the given error to Keybase chat and to the configured log file. Used so
that the SSHCA bot does not crash due to an error caused by a malformed
message.
Start the SSH CA bot in an infinite loop. Does not return unless it
encounters an unrecoverable error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.