dummybridge

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ProviderDummyBridge = "dummybridge"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Bridge      bridgeconfig.BridgeConfig `yaml:"bridge"`
	DummyBridge DummyBridgeConfig         `yaml:"dummybridge"`
}

type DummyBridgeConfig

type DummyBridgeConfig struct {
	Enabled *bool `yaml:"enabled"`
}

type DummyBridgeConnector

type DummyBridgeConnector struct {
	*agentremote.ConnectorBase

	Config Config
	// contains filtered or unexported fields
}

func NewConnector

func NewConnector() *DummyBridgeConnector

type DummyBridgeLogin

type DummyBridgeLogin struct {
	agentremote.BaseLoginProcess
	User      *bridgev2.User
	Connector *DummyBridgeConnector
}

func (*DummyBridgeLogin) Start

func (*DummyBridgeLogin) SubmitUserInput

func (dl *DummyBridgeLogin) SubmitUserInput(ctx context.Context, input map[string]string) (*bridgev2.LoginStep, error)

type GhostMetadata

type GhostMetadata struct{}

type MessageMetadata

type MessageMetadata struct {
	agentremote.BaseMessageMetadata
	Command  string `json:"command,omitempty"`
	Scenario string `json:"scenario,omitempty"`
}

type PortalMetadata

type PortalMetadata struct {
	Title             string                      `json:"title,omitempty"`
	Topic             string                      `json:"topic,omitempty"`
	ChatIndex         int                         `json:"chat_index,omitempty"`
	IsDummyBridgeRoom bool                        `json:"is_dummybridge_room,omitempty"`
	SDK               bridgesdk.SDKPortalMetadata `json:"sdk,omitempty"`
}

func (*PortalMetadata) GetSDKPortalMetadata

func (pm *PortalMetadata) GetSDKPortalMetadata() *bridgesdk.SDKPortalMetadata

func (*PortalMetadata) SetSDKPortalMetadata

func (pm *PortalMetadata) SetSDKPortalMetadata(meta *bridgesdk.SDKPortalMetadata)

type UserLoginMetadata

type UserLoginMetadata struct {
	Provider       string `json:"provider,omitempty"`
	AcceptedString string `json:"accepted_string,omitempty"`
	NextChatIndex  int    `json:"next_chat_index,omitempty"`
}

Jump to

Keyboard shortcuts

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