berty: berty.tech/berty/go/internal/discordlog Index | Files

package discordlog

import "berty.tech/berty/go/internal/discordlog"

discordlog is an unsafe package used during development to log info directly on the Berty's Discord server.

we are still in dev mode, but we should already be sure to only share useful information and use opt-in when possible.

FIXME: completely remove this package.

Index

Package Files

discord.go doc.go

Constants

const (
    QRCodeRoom = "" /* 166 byte string literal not displayed */
)

rooms are webhook URLs encoded in base64 to prevent most stupid bots to spam our channels.

if we get spammed, then we can think about a better way to store secrets on the repo and in the releases.

func ShareQRLink(username, room, title, qrData, url string) error

ShareQRLink shares a link as a QR Code on discord.

Package discordlog imports 5 packages (graph). Updated 2021-01-07. Refresh now. Tools for package owners.