Documentation
¶
Overview ¶
Package generalfeedbackwire assembles who hears about a General feedback post (#2603) from the platform: the settings section, its seed, the people a persona reaches and the channels a list may name; it mounts the admin settings routes and the portal read the composer asks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mount ¶
func Mount(mux *http.ServeMux, svc *generalfeedback.Service, wrap, adminWrap func(http.Handler) http.Handler, author func(*http.Request) string)
Mount registers the portal read behind wrap and, when the admin API is on, the settings routes behind adminWrap.
func Service ¶
func Service(p *platform.Platform, notify *notifydelivery.Handle, members func(ctx context.Context, name string) []string) *generalfeedback.Service
Service builds the list over the platform. members is the persona-member lookup the portal resolves shares with; nil reaches nobody through a persona.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.