Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { DiceAppService dice.Service RoomAppService room.Service UserAppService user.Service MetricsRecorder MetricsRecorder ServePefix string Logger log.Logger }
Config is the configuration to serve the API.
type MetricsRecorder ¶
type MetricsRecorder interface { gohttpmetrics.Recorder }
MetricsRecorder is the service used to record metrics in the HTTP API handler.
Click to show internal directories.
Click to hide internal directories.