Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRequestIDMiddleware ¶
WithRequestIDMiddleware overrides the middleware which provides request IDs. It's used for running the Server in production, where request IDs come from the AWS Lambda context rather than being generated internally by Chi.
Types ¶
type Config ¶
type Config struct { Config config.Config Log *zap.SugaredLogger Authenticator auth.Authenticator // IdentitySyncer is piped through to the auth middleware, // so that we can sync the IDP if we get an authenticated user // which doesn't yet exist in our database. IdentitySyncer auth.IdentitySyncer API API }
Click to show internal directories.
Click to hide internal directories.