bkeybase

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *bridge.Config) bridge.Bridger

New initializes Bkeybase object and sets team

Types

type Bkeybase

type Bkeybase struct {
	*bridge.Config
	// contains filtered or unexported fields
}

Bkeybase bridge structure

func (*Bkeybase) Connect

func (b *Bkeybase) Connect() error

Connect starts keybase API and listener loop

func (*Bkeybase) Disconnect

func (b *Bkeybase) Disconnect() error

Disconnect doesn't do anything for now

func (*Bkeybase) JoinChannel

func (b *Bkeybase) JoinChannel(channel config.ChannelInfo) error

JoinChannel sets channel name in struct

func (*Bkeybase) Send

func (b *Bkeybase) Send(msg config.Message) (string, error)

Send receives bridge messages and sends them to Keybase chat room

Jump to

Keyboard shortcuts

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