Documentation
¶
Overview ¶
Package server provides the arc server runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDataDir ¶
func DefaultDataDir() string
DefaultDataDir returns the default data directory (~/.arc).
func Run ¶
Run starts the server and blocks until shutdown. It handles graceful shutdown on SIGINT/SIGTERM.
func RunWithRestart ¶
func RunWithRestart(cfg Config)
RunWithRestart runs the server with automatic restart on crash.
Types ¶
Click to show internal directories.
Click to hide internal directories.