remote_coder

package
v0.260224.2130-hotfix Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSMiddleware

func CORSMiddleware() gin.HandlerFunc

CORSMiddleware adds CORS headers to allow cross-origin requests

func GetAgentBoot

func GetAgentBoot() *agentboot.AgentBoot

GetAgentBoot returns the AgentBoot instance (for bot platform integration)

func GetBotManager

func GetBotManager() bot.BotLifecycle

GetBotManager returns the bot manager instance (for API integration)

func GetPermissionHandler

func GetPermissionHandler() permission.Handler

GetPermissionHandler returns the permission handler (for bot platform integration)

func Run

func Run(ctx context.Context, cfg *config.Config, imbotStore *db.ImBotSettingsStore) error

Run starts the remote-coder service and blocks until shutdown. imbotStore is the optional ImBot settings store from the main service. If provided, it will be used to load bot credentials instead of the local store.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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