Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultTimeoutMS = 20_000 DefaultModel = string(anthropic.ModelClaudeHaiku4_5) DefaultProvider = "anthropic" DefaultLogPath = "~/.claude/logs/ccgate.log" DefaultLogMaxSize = 5 * 1024 * 1024 // 5MB BaseConfigName = "ccgate.jsonnet" LocalConfigName = "ccgate.local.jsonnet" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Provider ProviderConfig `json:"provider"`
LogPath string `json:"log_path"`
LogDisabled bool `json:"log_disabled"`
LogMaxSize int64 `json:"log_max_size"`
Allow []string `json:"allow"`
Deny []string `json:"deny"`
Environment []string `json:"environment"`
}
func (Config) ResolveLogPath ¶
ResolveLogPath expands ~ in LogPath and returns the absolute path.
type ProviderConfig ¶
Click to show internal directories.
Click to hide internal directories.