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_delete_request.go from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/api/pkg/requests/phone_delete_request.go
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway/api/pkg/requests/phone_delete_request.go
-
curl -L -o phone_delete_request.go https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/api/pkg/requests/phone_delete_request.go
365 Bytes
| package requests | |
| import ( | |
| "github.com/google/uuid" | |
| ) | |
| // PhoneDelete is the payload for deleting | |
| type PhoneDelete struct { | |
| request | |
| PhoneID string `json:"phoneID" swaggerignore:"true"` // used internally for validation | |
| } | |
| // PhoneIDUuid returns the phoneID as uuid.UUID | |
| func (input *PhoneDelete) PhoneIDUuid() uuid.UUID { | |
| return uuid.MustParse(input.PhoneID) | |
| } | |