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/requests/phone_api_key_store_request.go from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/6917738ca6db1603dee9e07994b4e42d5e1ae9b2/api/pkg/requests/phone_api_key_store_request.go
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway@6917738ca6db1603dee9e07994b4e42d5e1ae9b2/api/pkg/requests/phone_api_key_store_request.go
-
curl -L -o phone_api_key_store_request.go https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/6917738ca6db1603dee9e07994b4e42d5e1ae9b2/api/pkg/requests/phone_api_key_store_request.go
376 Bytes
| package requests | |
| // PhoneAPIKeyStoreRequest is the payload for storing a phone API key | |
| type PhoneAPIKeyStoreRequest struct { | |
| request | |
| Name string `json:"name" example:"My Phone API Key"` | |
| } | |
| // Sanitize sets defaults to MessageReceive | |
| func (input *PhoneAPIKeyStoreRequest) Sanitize() PhoneAPIKeyStoreRequest { | |
| input.Name = input.sanitizeAddress(input.Name) | |
| return *input | |
| } | |