Discover Packages
github.com/looplab/fubsub
package
module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 2, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
fubsub
Silly GCP pubsub-as-file example. Used as a demonstration of Go 1.11 modules in a Go West meetup in Sweden.
https://meetup.com/sweden-go-west
Usage
Run make test
to run the tests, it will start the GCP pubsub emulator in the background using Docker Compose. Run make stop-emulator
to stop the emaulator.
Expand ▾
Collapse ▴
Documentation
¶
Fubsub is a io.ReadWriteCloser for GCP pubsub.
New creates a new Fubsub.
Close implements the Close method of the io.Closer interface.
Read implements the Read method of the io.Reader interface.
Write implements the Write method of the io.Writer interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.