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/responses/contact_responses.go from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 711 Bytes
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/api/pkg/responses/contact_responses.go
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway/api/pkg/responses/contact_responses.go
-
curl -L -o contact_responses.go https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/api/pkg/responses/contact_responses.go
711 Bytes
| package responses | |
| import "github.com/NdoleStudio/httpsms/pkg/entities" | |
| // ContactResponse is the payload containing entities.Contact. | |
| type ContactResponse struct { | |
| response | |
| Data entities.Contact `json:"data"` | |
| } | |
| // ContactsCreatedResponse is the payload returned after creating contacts. | |
| type ContactsCreatedResponse struct { | |
| response | |
| Data []entities.Contact `json:"data"` | |
| } | |
| // ContactsResponse is the payload containing []entities.Contact. | |
| type ContactsResponse struct { | |
| response | |
| Data []entities.Contact `json:"data"` | |
| // Total is the number of contacts matching the request filter for the | |
| // user, independent of the pagination skip/limit applied to Data. | |
| Total int64 `json:"total" example:"57"` | |
| } | |