aboutsummaryrefslogtreecommitdiff
path: root/mxlib/registration.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-17 19:02:26 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-17 19:02:26 +0100
commita4dd3b310d68f5c6147bdeaf8ecd3556c2cf7859 (patch)
tree14d4dbdcc03803f4a40b06f2862bce78df318a76 /mxlib/registration.go
parent531b59bf953ad6c1fb7adfb6554dcc412fbe47e5 (diff)
downloadeasybridge-a4dd3b310d68f5c6147bdeaf8ecd3556c2cf7859.tar.gz
easybridge-a4dd3b310d68f5c6147bdeaf8ecd3556c2cf7859.zip
Go fmt
Diffstat (limited to 'mxlib/registration.go')
-rw-r--r--mxlib/registration.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/mxlib/registration.go b/mxlib/registration.go
index d4b18dc..cae3f29 100644
--- a/mxlib/registration.go
+++ b/mxlib/registration.go
@@ -5,21 +5,21 @@ import (
)
type Registration struct {
- Id string `yaml:"id"`
- Url string `yaml:"url"`
- AsToken string `yaml:"as_token"`
- HsToken string `yaml:"hs_token"`
- SenderLocalpart string `yaml:"sender_localpart"`
- Namespaces RegistrationNamespaceSet `yaml:"namespaces"`
+ Id string `yaml:"id"`
+ Url string `yaml:"url"`
+ AsToken string `yaml:"as_token"`
+ HsToken string `yaml:"hs_token"`
+ SenderLocalpart string `yaml:"sender_localpart"`
+ Namespaces RegistrationNamespaceSet `yaml:"namespaces"`
}
type RegistrationNamespaceSet struct {
- Users []RegistrationNamespace `yaml:"users"`
+ Users []RegistrationNamespace `yaml:"users"`
Aliases []RegistrationNamespace `yaml:"aliases"`
- Rooms []RegistrationNamespace `yaml:"rooms"`
+ Rooms []RegistrationNamespace `yaml:"rooms"`
}
type RegistrationNamespace struct {
- Exclusive bool `yaml:"exclusive"`
- Regex string `yaml:"regex"`
+ Exclusive bool `yaml:"exclusive"`
+ Regex string `yaml:"regex"`
}