Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Addr is the address the server should listen on.
Addr string
// Logger can be used to capture log messages.
Logger *slog.Logger
// Storage is a pointer to a Storage instance
Storage *storage.Storage
}
Config provides configuration for Server.
Click to show internal directories.
Click to hide internal directories.