e50cabac4b
- Updated all references from v6 to v7 for `github.com/router-for-me/CLIProxyAPI`. - Ensured consistency in imports within core libraries, tests, and integration tests. - Added missing tests for new features in Redis Protocol integration.
20 lines
476 B
Go
20 lines
476 B
Go
package synthesizer
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/router-for-me/CLIProxyAPI/v7/internal/config"
|
|
)
|
|
|
|
// SynthesisContext provides the context needed for auth synthesis.
|
|
type SynthesisContext struct {
|
|
// Config is the current configuration
|
|
Config *config.Config
|
|
// AuthDir is the directory containing auth files
|
|
AuthDir string
|
|
// Now is the current time for timestamps
|
|
Now time.Time
|
|
// IDGenerator generates stable IDs for auth entries
|
|
IDGenerator *StableIDGenerator
|
|
}
|