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/repositories/integration_3cx_repository.go from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 605 Bytes
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/api/pkg/repositories/integration_3cx_repository.go
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway/api/pkg/repositories/integration_3cx_repository.go
-
curl -L -o integration_3cx_repository.go https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/api/pkg/repositories/integration_3cx_repository.go
605 Bytes
| package repositories | |
| import ( | |
| "context" | |
| "github.com/NdoleStudio/httpsms/pkg/entities" | |
| ) | |
| // Integration3CxRepository loads and persists an entities.Integration3CX | |
| type Integration3CxRepository interface { | |
| // Save an entities.Integration3CX | |
| Save(ctx context.Context, heartbeat *entities.Integration3CX) error | |
| // Load an entities.Integration3CX based on the entities.UserID | |
| Load(ctx context.Context, userID entities.UserID) (*entities.Integration3CX, error) | |
| // DeleteAllForUser deletes all entities.Integration3CX for a user | |
| DeleteAllForUser(ctx context.Context, userID entities.UserID) error | |
| } | |