51d229b025
This makes the following changes: * The various `Defaults` functions are now responsible for setting sane defaults if `generate` is specified, rather than hiding them in `generate-config` * Some configuration options have been marked as `omitempty` so that they don't appear in generated configs unnecessarily (monolith-specific vs. polylith-specific options) * A new option `-polylith` has been added to `generate-config` to create a config that makes sense for polylith deployments (i.e. including the internal/external API listeners and per-component database sections) * A new option `-normalise` has been added to `generate-config` to take an existing file and add any missing options and/or defaults |
||
---|---|---|
.. | ||
account_data.go | ||
admin_whois.go | ||
admin.go | ||
aliases.go | ||
auth_fallback.go | ||
capabilities.go | ||
createroom.go | ||
deactivate.go | ||
device.go | ||
directory_public_test.go | ||
directory_public.go | ||
directory.go | ||
getevent.go | ||
joinroom.go | ||
key_backup.go | ||
key_crosssigning.go | ||
keys.go | ||
leaveroom.go | ||
login.go | ||
logout.go | ||
membership.go | ||
memberships.go | ||
notification.go | ||
openid.go | ||
password.go | ||
peekroom.go | ||
presence.go | ||
profile.go | ||
pusher.go | ||
pushrules.go | ||
receipt.go | ||
redaction.go | ||
register_secret_test.go | ||
register_secret.go | ||
register_test.go | ||
register.go | ||
room_tagging.go | ||
routing.go | ||
sendevent.go | ||
sendtodevice.go | ||
sendtyping.go | ||
server_notices_test.go | ||
server_notices.go | ||
state.go | ||
threepid.go | ||
upgrade_room.go | ||
userdirectory.go | ||
voip.go | ||
whoami.go |