Skip to content

A Go package for matching MQTT formatted topics

License

Notifications You must be signed in to change notification settings

farshidtz/mqtt-match

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt-match GoDoc Build Status

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.

About

A Go package for matching MQTT formatted topics

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%