Add current nodeinfo 2.2 draft

This commit is contained in:
Melody Becker 2025-06-11 09:14:49 +02:00
parent f727b30f32
commit e30cb6746a
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
3 changed files with 81 additions and 0 deletions

View file

@ -107,6 +107,8 @@ type ConfigSelf struct {
ServerActorDisplayName string `toml:"server_actor_display_name"`
// The name of the server provided via nodeinfo
ServerDisplayName string `toml:"server_display_name"`
// The description of the server
ServerDescription string `toml:"server_description"`
}
// Contains experimental features that could be good to have
@ -212,6 +214,7 @@ var defaultConfig Config = Config{
Self: ConfigSelf{
ServerActorDisplayName: "Server actor",
ServerDisplayName: "Linstrom",
ServerDescription: "A social media server running Linstrom",
},
S3: ConfigS3{
KeyId: "Example key ID",