Documentation
¶
Overview ¶
Package platformfeedbackwire assembles platform feedback (#2820) from the platform: the settings section, the content secret check over the deployment's own secret values, the embedder that folds a repeat, and the notification channels a post is sent to. It binds the service to manage_feedback's topic=platform and mounts the admin routes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bind ¶
func Bind(p *platform.Platform, svc *platformfeedback.Service)
Bind hands the service to every portal toolkit, so manage_feedback's topic=platform posts to it.
func KnownValues ¶ added in v1.171.0
func KnownValues(p *platform.Platform) secretscan.Known
KnownValues is the deployment's own secret values for one scan: every stored secret, and every connection configuration value the encryption layer seals at rest (fieldcrypt's key sets, the one list of what is a secret in a connection's configuration).
func Mount ¶
func Mount(mux *http.ServeMux, svc *platformfeedback.Service, adminWrap func(http.Handler) http.Handler, author func(*http.Request) string)
Mount registers the admin routes behind adminWrap, when the admin API is on.
func Service ¶
func Service(p *platform.Platform, notify *notifydelivery.Handle) *platformfeedback.Service
Service builds platform feedback over the platform, nil without a database. notify may be nil, in which case a post is stored and sent nowhere.
Types ¶
This section is empty.