Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleCloud ¶
type GoogleCloud struct {
// contains filtered or unexported fields
}
GoogleCloud provides google cloud pubsub
func NewGoogleCloud ¶
func NewGoogleCloud(projectID string) (*GoogleCloud, error)
NewGoogleCloud creates a new GoogleCloud instace for a project
func (*GoogleCloud) Shutdown ¶
func (g *GoogleCloud) Shutdown()
Shutdown shuts down all subscribers gracefully
func (*GoogleCloud) Subscribe ¶
func (g *GoogleCloud) Subscribe(opts ps.HandlerOptions, h ps.MsgHandler)
Subscribe implements Subscribe
Click to show internal directories.
Click to hide internal directories.