add: login & token validation tapi belum connect ke DB
This commit is contained in:
41
README.md
41
README.md
@@ -28,6 +28,47 @@ Berikut adalah cara clone project ini:
|
||||
3. **Pemrosesan Google Cloud**: Healthcare API memproses permintaan DICOM.
|
||||
4. **Penanganan Respons**: Proxy meneruskan respons kembali ke klien.
|
||||
|
||||
## 2b. Arsitektur
|
||||
```txt
|
||||
go-ohif-proxy/
|
||||
│
|
||||
├── cmd/
|
||||
│ └── server/ # Application entry point
|
||||
│ └── main.go # Main server initialization
|
||||
│
|
||||
├── config/ # Configuration management
|
||||
│ ├── config.go # Configuration loader
|
||||
│ └── config.yaml # Application configuration
|
||||
│
|
||||
├── credentials/ # Authentication credentials
|
||||
│ └── service-account.json # Google Cloud service account
|
||||
│
|
||||
├── internal/
|
||||
│ ├── api/ # API endpoints
|
||||
│ │ ├── handler.go # HTTP request handlers
|
||||
│ │ ├── middleware.go # Request middleware
|
||||
│ │ └── routes.go # API route definitions
|
||||
│ │
|
||||
│ ├── auth/ # Authentication services
|
||||
│ │ └── google.go # Google Cloud authentication
|
||||
│ │
|
||||
│ ├── proxy/ # Proxy service
|
||||
│ │ └── dicomweb.go # DICOMweb request handling
|
||||
│ │
|
||||
│ └── utils/ # Utility functions
|
||||
│ ├── http.go # HTTP utilities
|
||||
│ └── logger.go # Logging functionality
|
||||
│
|
||||
├── test/ # Testing resources
|
||||
│ └── http/ # HTTP test requests
|
||||
│
|
||||
├── Dockerfile # Container definition
|
||||
├── docker-compose.yml # Multi-container orchestration
|
||||
├── go.mod # Go module definition
|
||||
├── go.sum # Module dependency checksums
|
||||
└── README.md # Project documentation
|
||||
```
|
||||
|
||||
## 3. Instalasi dan Penggunaan
|
||||
|
||||
### Prasyarat
|
||||
|
||||
Reference in New Issue
Block a user