Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudRunAPIUrlOnly ¶
type CloudRunAPIUrlOnly struct { Status struct { URL string `json:"url"` } `json:"status"` }
type GoogleCloudRun ¶
type GoogleCloudRun struct {
// contains filtered or unexported fields
}
GoogleCloudRun provides google cloud pubsub but specifically tailored to Google Cloud Run, in that is works over http and push and not a long running process
func NewGoogleCloudRun ¶
func NewGoogleCloudRun(projectID string) (*GoogleCloudRun, error)
NewGoogleCloudRun creates a new GoogleCloudRun instace for a project
func (*GoogleCloudRun) RegisterHandler ¶
func (g *GoogleCloudRun) RegisterHandler(m *http.ServeMux)
func (*GoogleCloudRun) Shutdown ¶
func (g *GoogleCloudRun) Shutdown()
Shutdown shuts down all subscribers gracefully
func (*GoogleCloudRun) Subscribe ¶
func (g *GoogleCloudRun) Subscribe(opts ps.HandlerOptions, h ps.MsgHandler)
Subscribe implements Subscribe
Click to show internal directories.
Click to hide internal directories.