Skip to content

Commit

Permalink
complete TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
shan-96 committed Jun 24, 2024
1 parent 6b1e3ba commit c133fc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ func WithProfilerEndpoint() Option {
}
}

// TODO: add comment
// WithServerConfig is an option function that overrides the default configuration settings of the server.
// This can give the client more control over the server feature functions
func WithServerConfig(config Config) Option {
return func(s *Server) {
s.baseCtx = context.WithValue(s.baseCtx, ctxConfigKey{}, config)
Expand Down

0 comments on commit c133fc1

Please sign in to comment.