Download internal/watcher/synthesizer/context.go from shimen/API: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/spaces/shimen/API/resolve/main/internal/watcher/synthesizer/context.go
- Command line
-
hf download hf://spaces/shimen/API/internal/watcher/synthesizer/context.go
-
curl -L -o context.go https://huggingface.co/spaces/shimen/API/resolve/main/internal/watcher/synthesizer/context.go
476 Bytes
| package synthesizer | |
| import ( | |
| "time" | |
| "github.com/router-for-me/CLIProxyAPI/v6/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 | |
| } | |