Files
CLIProxyAPI/examples/plugin/scheduler/go/go.mod
Luis Pater 693ce1c55a feat(pluginhost, scheduler): introduce Go-based plugin with scheduler capabilities
- Added a Go scheduler plugin demonstrating CLIProxyAPI capabilities, such as `plugin.register`, `plugin.reconfigure`, and `scheduler.pick`.
- Implemented methods for plugin configuration, built-in scheduler delegation (`fill-first`, `round-robin`), dynamic candidate selection, and error handling.
- Extended `pluginhost` with scheduler handling, candidate normalization, and fallback mechanisms.
- Included examples, tests, and detailed documentation for scheduler usage and implementation.
2026-06-09 13:57:36 +08:00

11 lines
237 B
Modula-2

module github.com/router-for-me/CLIProxyAPI/v7/examples/plugin/scheduler/go
go 1.26.0
require (
github.com/router-for-me/CLIProxyAPI/v7 v7.0.0
gopkg.in/yaml.v3 v3.0.1
)
replace github.com/router-for-me/CLIProxyAPI/v7 => ../../../..