Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppName = "fetch-api"
AppName is the name of the application.
Functions ¶
func CreateGRPCServer ¶
CreateGRPCServer creates a new gRPC server with the given logger and settings.
func LoggerMiddleware ¶ added in v0.0.17
LoggerMiddleware adds method, path, and source IP to the request context logger.
Types ¶
type App ¶ added in v0.0.17
type App struct {
Handler http.Handler
MCPHandler http.Handler
// contains filtered or unexported fields
}
App is the main application (GraphQL over net/http). gRPC is created separately via CreateGRPCServer.
Click to show internal directories.
Click to hide internal directories.