Skip to content
Browse files

Correct typos in comments.

  • Loading branch information...
1 parent 6d37dcc commit 4b801977614f8bf858f2d7d59fe7248875da86e8 @gmallard committed Oct 27, 2012
View
4 connect_10/connect_10.go
@@ -15,7 +15,7 @@
//
/*
-Connect and Disconnect from a STOMP 1.1 broker.
+Connect and Disconnect from a STOMP 1.0 broker.
*/
package main
@@ -42,7 +42,7 @@ func main() {
fmt.Println(exampid + "dial complete ...")
// All stomp API methods require 'Headers'. Stomp headers are key/value
- // pairs. The stomp package implements them using a string slice.
+ // pairs. The stompngo package implements them using a string slice.
//
// Empty Headers are useful for a number of API method calls, and we
// use them to connect to a Stomp 1.0 broker.
View
2 connect_11/connect_11.go
@@ -42,7 +42,7 @@ func main() {
fmt.Println(exampid + "dial complete ...")
// All stomp API methods require 'Headers'. Stomp headers are key/value
- // pairs. The stomp package implements them using a string slice.
+ // pairs. The stompngo package implements them using a string slice.
//
// To connect to a Stomp 1.1 broker, you must:
// a) Use the correct host and port of course
View
2 connect_ssl_10/connect_ssl_10.go
@@ -55,7 +55,7 @@ func main() {
fmt.Println(exampid + "dial complete ...")
// All stomp API methods require 'Headers'. Stomp headers are key/value
- // pairs. The stomp package implements them using a string slice.
+ // pairs. The stompngo package implements them using a string slice.
//
// Empty Headers are useful for a number of API method calls, and we
// use them to connect to a Stomp 1.0 broker.
View
2 receive_10/receive_10.go
@@ -57,7 +57,7 @@ func main() {
// Subscribe returns:
// a) A channel of MessageData struct
// b) A possible error. Always check for errors. They can be logical
- // errors detected by the stomp package, or even hard network errors, for
+ // errors detected by the stompngo package, or even hard network errors, for
// example the broker just crashed.
r, e := conn.Subscribe(s)
if e != nil {
View
2 receive_11/receive_11.go
@@ -60,7 +60,7 @@ func main() {
// a) A channel of MessageData struct. Note that with this package, the
// channel is unique (based on the unique subscription id).
// b) A possible error. Always check for errors. They can be logical
- // errors detected by the stomp package, or even hard network errors, for
+ // errors detected by the stompngo package, or even hard network errors, for
// example the broker just crashed.
r, e := conn.Subscribe(s)
if e != nil {

0 comments on commit 4b80197

Please sign in to comment.
Something went wrong with that request. Please try again.