Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SenderFactory ¶
SenderFactory builds the publisher for one backend. A profile holds one per distinct backend, so the credential a factory reads is the one stored for that backend's device identity.
func NewHostedSenders ¶
func NewHostedSenders() SenderFactory
NewHostedSenders is the production publisher factory: one client per backend, each authenticated as the device identity this profile enrolled with that backend. A profile holding a local Project and a team Project therefore holds two credentials and two clients, and neither can be used against the other's server.
Click to show internal directories.
Click to hide internal directories.