bridgeconfig

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedBridges []string

Functions

func Generate

func Generate(bridgeName string, params Params) (string, error)

func IsSupported

func IsSupported(bridgeName string) bool

Types

type BridgeV2Name added in v0.12.0

type BridgeV2Name struct {
	DatabaseFileName string
	CommandPrefix    string
	BridgeTypeName   string
	BridgeTypeIcon   string
	DefaultPickleKey string

	MaxInitialMessages  int
	MaxBackwardMessages int
}

type Params

type Params struct {
	HungryAddress string
	BeeperDomain  string

	Websocket  bool
	ListenAddr string
	ListenPort uint16

	AppserviceID string
	ASToken      string
	HSToken      string
	BridgeName   string
	Username     string
	UserID       id.UserID

	ProvisioningSecret string

	DatabasePrefix string

	BridgeV2Name

	Params map[string]string
}

Jump to

Keyboard shortcuts

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