Versions in this module Expand all Collapse all v0 v0.1.1 Mar 23, 2026 v0.1.0 Mar 22, 2026 Changes in this version + type Backend = internalconfig.Backend + type CircuitBreakerConfig = internalconfig.CircuitBreakerConfig + type Config = internalconfig.Config + func LoadConfig(path string) (Config, error) + func ValidateConfig(cfg Config) (Config, error) + type ConsoleConfig = internalconfig.ConsoleConfig + type Gateway struct + func New(opts Options) (*Gateway, error) + func (g *Gateway) Close() error + func (g *Gateway) CurrentConfig() Config + func (g *Gateway) Handler() http.Handler + func (g *Gateway) RegisterConsoleRoutes(mux *http.ServeMux, basePath string) + func (g *Gateway) Reload(cfg Config) error + func (g *Gateway) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (g *Gateway) Shutdown(ctx context.Context) error + type HealthCheckConfig = internalconfig.HealthCheckConfig + type Model = internalconfig.Model + type ModelDefaultConfig = internalconfig.ModelDefaultConfig + type Options struct + Config Config + ConfigPath string + Debug bool + DebugDir string + HTTPClient *http.Client + type TokenLogConfig = internalconfig.TokenLogConfig