Documentation ¶ Index ¶ func DestroyAPI(api *API) type API func NewAPI(port int, timeout time.Duration) *API func (api *API) Publish(pubsubName string, topic string, data string, queryParams map[string]string) error func (api *API) PublishJSON(pubsubName string, topic string, data string, queryParams map[string]string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DestroyAPI ¶ func DestroyAPI(api *API) Types ¶ type API ¶ type API struct { // contains filtered or unexported fields } func NewAPI ¶ func NewAPI(port int, timeout time.Duration) *API func (*API) Publish ¶ func (api *API) Publish(pubsubName string, topic string, data string, queryParams map[string]string) error func (*API) PublishJSON ¶ func (api *API) PublishJSON(pubsubName string, topic string, data string, queryParams map[string]string) error Source Files ¶ View all Source files pubsub.go Click to show internal directories. Click to hide internal directories.