util

package
v2.0.0-rc0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2015 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeSuffix

func AnalyzeSuffix(uri string) (valid, hasStar, hasPlus, hasDollar, hasBang bool)

AnalyzeSuffix checks a given URI for schema validity and possession of characteristics

func RestrictBy

func RestrictBy(from string, by string) (string, bool)

RestrictBy takes a topic, and a permission, and returns the intersection that represents the from topic restricted by the permission. It took a looong time to work out this logic...

func VerifyMVK

func VerifyMVK(mvk []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL