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