aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
Diffstat (limited to 'registry/registry.go')
-rw-r--r--registry/registry.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/registry/registry.go b/registry/registry.go
index 442e591..b12b773 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -33,6 +33,14 @@ func (r *Registry) Profile(name string) (map[string]interface{}, error) {
return resources.RenderProfile(handler.handlerCfg.Name, r.cfg.Domain)
}
+func (r *Registry) Outbox(name string) (map[string]interface{}, error) {
+ handler := r.findByName(name)
+ if handler == nil {
+ return nil, nil
+ }
+ return resources.RenderOutbox(handler.handlerCfg.Name, r.cfg.Domain)
+}
+
func (r *Registry) WebfingerResource(fqn string) (*resources.WebfingerResource, error) {
handler := r.findByFQN(fqn)
if handler == nil {