Versions in this module Expand all Collapse all v0 v0.2.0 May 14, 2026 Changes in this version + type AuthConfig struct + ClientID string + ClientSecret string + InsecureSkipVerify bool + Scopes []string + Token string + TokenURL string + Type string + type BackendConfig struct + Auth AuthConfig + BaseURL string + InsecureSkipVerify bool + Location string + Models BackendModels + Name string + Project string + Type string + func (bc *BackendConfig) UpstreamModelID(id string) string + func (bc *BackendConfig) VertexBaseURL() string + type BackendModels struct + All bool + Models []Model + func (bm *BackendModels) UnmarshalYAML(value *yaml.Node) error type Config + Backends []BackendConfig + func (c *Config) AllModels() []Model + func (c *Config) BackendForModel(id string) *BackendConfig v0.1.0 May 13, 2026 Changes in this version + const DefaultHost + const DefaultLocation + const DefaultPort + const DefaultUIMode + var ErrUsage = errors.New("usage error") + func IsLoopbackHost(host string) bool + type Config struct + Models []Model + Server ServerConfig + SourcePath string + UI UIConfig + Verbose bool + Vertex VertexConfig + func Load(flags Flags) (*Config, error) + func (c *Config) Address() string + func (c *Config) LocalModelID(upstreamID string) string + func (c *Config) UpstreamModelID(id string) string + func (c *Config) Validate() error + func (c *Config) VertexBaseURL() string + type Flags struct + ConfigPath string + Host string + Location string + Port int + Project string + UIMode string + Verbose bool + type Model struct + ID string + UpstreamID string + type ServerConfig struct + Host string + Port int + type UIConfig struct + Mode string + type VertexConfig struct + Location string + Project string