Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendStrings ¶
AppendStrings to a protocol.ID
Types ¶
type MatchFunc ¶
func NewMatcher ¶
NewMatcher returns a stream matcher for a protocol.ID that matches the pattern: /ww/<version>/<ns>
func SemVer ¶
SemVer returns a function that compares the protocol ID with the supplied semantic version string. It returns true iff the major version numbers are identical.
SemVer is compliant with the Semantic Versioning 2.0.0 spec. https://semver.org/
Click to show internal directories.
Click to hide internal directories.