httpsms-gateway / api /pkg /discord /client_config.go
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
Raw History Blame Contribute Delete
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",
}
}