Documentation
¶
Overview ¶
Package config provides the public SDK configuration API.
It re-exports the server configuration types and helpers so external projects can embed CLIProxyAPI without importing internal packages.
Index ¶
- Constants
- func NormalizeCommentIndentation(data []byte) []byte
- func SaveConfigPreserveComments(configFile string, cfg *Config) error
- func SaveConfigPreserveCommentsUpdateNestedScalar(configFile string, path []string, value string) error
- type AmpCode
- type ClaudeKey
- type CodexKey
- type Config
- type GeminiKey
- type OAuthModelAlias
- type OpenAICompatibility
- type OpenAICompatibilityAPIKey
- type OpenAICompatibilityModel
- type PayloadConfig
- type PayloadFilterRule
- type PayloadModelRule
- type PayloadRule
- type RemoteManagement
- type SDKConfig
- type StreamingConfig
- type TLS
- type TLSConfig
- type VertexCompatKey
- type VertexCompatModel
Constants ¶
View Source
const (
DefaultPanelGitHubRepository = internalconfig.DefaultPanelGitHubRepository
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AmpCode ¶
type AmpCode = internalconfig.AmpCode
type ClaudeKey ¶
type ClaudeKey = internalconfig.ClaudeKey
type CodexKey ¶
type CodexKey = internalconfig.CodexKey
type GeminiKey ¶
type GeminiKey = internalconfig.GeminiKey
type OAuthModelAlias ¶
type OAuthModelAlias = internalconfig.OAuthModelAlias
type OpenAICompatibility ¶
type OpenAICompatibility = internalconfig.OpenAICompatibility
type OpenAICompatibilityAPIKey ¶
type OpenAICompatibilityAPIKey = internalconfig.OpenAICompatibilityAPIKey
type OpenAICompatibilityModel ¶
type OpenAICompatibilityModel = internalconfig.OpenAICompatibilityModel
type PayloadConfig ¶
type PayloadConfig = internalconfig.PayloadConfig
type PayloadFilterRule ¶
type PayloadFilterRule = internalconfig.PayloadFilterRule
type PayloadModelRule ¶
type PayloadModelRule = internalconfig.PayloadModelRule
type PayloadRule ¶
type PayloadRule = internalconfig.PayloadRule
type RemoteManagement ¶
type RemoteManagement = internalconfig.RemoteManagement
type SDKConfig ¶
type SDKConfig = internalconfig.SDKConfig
type StreamingConfig ¶
type StreamingConfig = internalconfig.StreamingConfig
type TLS ¶
type TLS = internalconfig.TLSConfig
type TLSConfig ¶
type TLSConfig = internalconfig.TLSConfig
type VertexCompatKey ¶
type VertexCompatKey = internalconfig.VertexCompatKey
type VertexCompatModel ¶
type VertexCompatModel = internalconfig.VertexCompatModel
Click to show internal directories.
Click to hide internal directories.