Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PattenMatch ¶
PattenMatch matches a string with a wildcard pattern. It supports following cases: - h?llo matches hello, hallo and hxllo - h*llo matches hllo and heeeello - h[ae]llo matches hello and hallo, but not hillo - h[^e]llo matches hallo, hbllo, ... but not hello - h[a-b]llo matches hallo and hbllo - Use \ to escape special characters if you want to match them verbatim.
Types ¶
type Pump ¶
func (*Pump) RunForward ¶
func (p *Pump) RunForward()
RunForward blocks and forwards all inbound channels to a single outbound channel for exactly 1 message.
Click to show internal directories.
Click to hide internal directories.