Spaces:
Paused
Paused
ML Intern deploy
Deploy httpSMS gateway to Hugging Face Spaces (Docker SDK): nginx :7860 -> Go API :8000, Nuxt SPA, Android APK, bootstrap-mode entrypoint
83a59ca Download api/pkg/discord/client_config.go from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 354 Bytes
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/api/pkg/discord/client_config.go
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway/api/pkg/discord/client_config.go
-
curl -L -o client_config.go https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/api/pkg/discord/client_config.go
354 Bytes
| package discord | |
| import "net/http" | |
| type clientConfig struct { | |
| httpClient *http.Client | |
| botToken string | |
| applicationID string | |
| baseURL string | |
| } | |
| func defaultClientConfig() *clientConfig { | |
| return &clientConfig{ | |
| httpClient: http.DefaultClient, | |
| botToken: "", | |
| applicationID: "", | |
| baseURL: "https://discord.com/api", | |
| } | |
| } | |