README ¶ mqtt-match Match mqtt formatted topic strings to strings, e.g. foo/+ should match foo/bar. Usage package main import ( "fmt" mqtttopic "github.com/farshidtz/mqtt-match" ) func main(){ fmt.Println(mqtttopic.Match("foo/+", "foo/bar")) // true } Copyrights Notice This package is a translation of mqtt-match for Go. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Match(filter, topic string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Match ¶ func Match(filter, topic string) bool Match checks whether the filter and topic match Types ¶ This section is empty. Source Files ¶ View all Source files match.go Click to show internal directories. Click to hide internal directories.