You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mplementation of the [cf-api-spec](https://github.com/sklevenz/cf-api-spec) in Go. This project provides a Go-based solution adhering to the Cloud Foundry API specifications, enabling seamless integration and usage for Cloud Foundry-related development.
7
7
@@ -23,6 +23,7 @@ cf-api-server/
23
23
│ ├── services/ # Business logic or service layer
24
24
│ │ ├── api_service.go
25
25
│ │ └── ...
26
+
│ ├── server/ # HTTP server implementation
26
27
│ ├── middleware/ # Middleware for request processing
27
28
│ │ ├── logging.go
28
29
│ │ ├── auth.go
@@ -39,8 +40,7 @@ cf-api-server/
39
40
│ │ └── ...
40
41
│ └── ...
41
42
├── test/ # Tests and test utilities
42
-
│ ├── integration/
43
-
│ ├── unit/
43
+
│ ├── integration/ # Integration tests
44
44
│ └── ...
45
45
├── go.mod # Go module file
46
46
├── go.sum # Go module checksum file
@@ -57,6 +57,7 @@ This directory contains core application logic that is not intended to be expose
57
57
58
58
-**`handlers/`**: Defines HTTP route handlers that process incoming requests and return responses.
59
59
-**`services/`**: Implements the business logic and acts as an intermediary between handlers and the data layer.
60
+
-**`server/`**: Implements the HTTP server code to offload the main entry point.
60
61
-**`middleware/`**: Contains reusable middleware functions for processing HTTP requests, such as logging or authentication.
61
62
-**`config/`**: Manages application configurations, such as environment variables and settings.
0 commit comments