Documentation
¶
Overview ¶
Package api provides the HTTP server for the stackit-web application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the stackit-web HTTP server. Per-repo state (engine, watcher, broadcaster) lives on each registry entry — the server only owns transport-level concerns.
func NewServer ¶
func NewServer(cfg ServerConfig) *Server
NewServer creates a new API server backed by the given registry.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package registry holds the set of repositories served by the stackit server, keyed by a stable repoID.
|
Package registry holds the set of repositories served by the stackit server, keyed by a stable repoID. |
|
Package watcher provides file system monitoring for git ref changes.
|
Package watcher provides file system monitoring for git ref changes. |
Click to show internal directories.
Click to hide internal directories.