Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache encapsulates the entire cache application state, including HTTP server, config, and probes.
func (*Cache) IsAlive ¶
IsAlive is called by liveness probes to check app health. Returns false if the HTTP server is not alive.
func (*Cache) Start ¶
func (c *Cache) Start(gc shutdown.Gracefuller)
Start runs the cache server and liveness probe, and handles graceful shutdown. The Gracefuller interface is expected to call Done() when shutdown is complete.
Click to show internal directories.
Click to hide internal directories.